src/SDL_compat.c
changeset 1924 69217fdd2c0a
parent 1913 83420da906a5
child 1936 83946ee0ff1f
--- a/src/SDL_compat.c	Sat Jul 22 19:51:48 2006 +0000
+++ b/src/SDL_compat.c	Sat Jul 22 21:02:57 2006 +0000
@@ -469,7 +469,8 @@
                           height);
     if (!SDL_VideoTexture) {
         SDL_VideoTexture =
-            SDL_CreateTexture(0, SDL_TextureAccess_Local, width, height);
+            SDL_CreateTexture(SDL_PixelFormat_RGB888, SDL_TextureAccess_Local,
+                              width, height);
     }
     if (!SDL_VideoTexture) {
         return NULL;