OpenTyrian: Fixed VERSION and disabled exit, on unsupported scaling
git-svn-id: svn://kolibrios.org@9244 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
78c7f262bf
commit
66a0545330
@ -2,7 +2,7 @@
|
||||
#define OPENTYRIAN_VERSION_H
|
||||
|
||||
#ifndef OPENTYRIAN_VERSION
|
||||
#define OPENTYRIAN_VERSION "v2.1.???"
|
||||
#define OPENTYRIAN_VERSION "v2.1 KolibriOS"
|
||||
#endif
|
||||
|
||||
#endif // OPENTYRIAN_VERSION_H
|
||||
|
@ -104,9 +104,6 @@ bool init_scaler( unsigned int new_scaler, bool fullscreen )
|
||||
|
||||
if (bpp == 0)
|
||||
return false;
|
||||
#ifdef _KOLIBRI
|
||||
bpp=16; // DEBUG
|
||||
#endif
|
||||
SDL_Surface *const surface = SDL_SetVideoMode(w, h, bpp, flags);
|
||||
|
||||
if (surface == NULL)
|
||||
@ -146,7 +143,7 @@ bool init_scaler( unsigned int new_scaler, bool fullscreen )
|
||||
|
||||
if (scaler_function == NULL)
|
||||
{
|
||||
assert(false);
|
||||
//assert(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user