From 71dced84ff25e6f94ecedd4f1a4dbc7c3990035f Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Wed, 24 Dec 2008 22:03:14 +0000 Subject: [PATCH] Added SDL_ANYFORMAT to editor too. --- edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit.c b/edit.c index fe6b1e3..9b9c2b0 100644 --- a/edit.c +++ b/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