# HG changeset patch # User Sam Lantinga # Date 1229449230 0 # Node ID 762f0663c36ae0225a5ec1e58ba58164872d41c3 # Parent cf09447f3d3c2418099e92698f5172f301a66732 Use the desktop format instead of an arbitrary one. diff -r cf09447f3d3c -r 762f0663c36a src/SDL_compat.c --- 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) {