mirror of
https://github.com/yawut/SDL.git
synced 2026-08-25 18:25:16 -05:00
Better default format for Mac OS X
This commit is contained in:
@@ -618,7 +618,7 @@ SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags)
|
||||
|
||||
if (!SDL_VideoTexture) {
|
||||
SDL_VideoTexture =
|
||||
SDL_CreateTexture(SDL_PIXELFORMAT_ABGR8888,
|
||||
SDL_CreateTexture(SDL_PIXELFORMAT_ARGB8888,
|
||||
SDL_TEXTUREACCESS_STREAMING, width, height);
|
||||
}
|
||||
if (!SDL_VideoTexture) {
|
||||
|
||||
Reference in New Issue
Block a user