Commit 3bb3945d authored by Sam Lantinga's avatar Sam Lantinga

Use the desktop format instead of an arbitrary one.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403334
parent 57ccddd9
...@@ -620,7 +620,7 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags) ...@@ -620,7 +620,7 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags)
if (!SDL_VideoTexture) { if (!SDL_VideoTexture) {
SDL_VideoTexture = SDL_VideoTexture =
SDL_CreateTexture(SDL_PIXELFORMAT_ARGB8888, SDL_CreateTexture(desktop_format,
SDL_TEXTUREACCESS_STREAMING, width, height); SDL_TEXTUREACCESS_STREAMING, width, height);
} }
if (!SDL_VideoTexture) { if (!SDL_VideoTexture) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment