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