Mercurial > sdl-ios-xcode
diff src/SDL_compat.c @ 2872:762f0663c36a
Use the desktop format instead of an arbitrary one.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 16 Dec 2008 17:40:30 +0000 |
parents | 929e7dd10031 |
children | 9dde605c7540 |
line wrap: on
line diff
--- a/src/SDL_compat.c Sun Dec 14 07:22:15 2008 +0000 +++ b/src/SDL_compat.c Tue Dec 16 17:40:30 2008 +0000 @@ -620,7 +620,7 @@ if (!SDL_VideoTexture) { SDL_VideoTexture = - SDL_CreateTexture(SDL_PIXELFORMAT_ARGB8888, + SDL_CreateTexture(desktop_format, SDL_TEXTUREACCESS_STREAMING, width, height); } if (!SDL_VideoTexture) {