Added SDL_ANYFORMAT to editor too.
This commit is contained in:
parent
5f2941d89b
commit
71dced84ff
2
edit.c
2
edit.c
|
@ -151,7 +151,7 @@ int main (int argc, char **argv) {
|
|||
SDL_GL_SetAttribute (SDL_GL_DOUBLEBUFFER, 1);
|
||||
screen = SDL_SetVideoMode(EDITORW,EDITORH,16,SDL_OPENGLBLIT|vidargs);
|
||||
#else
|
||||
screen = SDL_SetVideoMode(EDITORW,EDITORH,16,SDL_SWSURFACE|SDL_DOUBLEBUF|vidargs);
|
||||
screen = SDL_SetVideoMode(EDITORW,EDITORH,16,SDL_SWSURFACE|SDL_DOUBLEBUF|SDL_ANYFORMAT|vidargs);
|
||||
#endif
|
||||
|
||||
// set title bar
|
||||
|
|
Loading…
Reference in New Issue