mirror of
https://github.com/yawut/SDL.git
synced 2026-07-01 00:39:58 -05:00
Better default format for Mac OS X
This commit is contained in:
parent
7e9c50dc26
commit
6b0a2a6894
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user