Added SDL_ANYFORMAT to editor too.

This commit is contained in:
Rob Pearce 2008-12-24 22:03:14 +00:00
parent 5f2941d89b
commit 71dced84ff
1 changed files with 1 additions and 1 deletions

2
edit.c
View File

@ -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