Changed RGB format to 16-bit
This commit is contained in:
parent
fbd2d17fcb
commit
1ce5d0cae3
4 changed files with 5 additions and 4 deletions
|
@ -658,7 +658,7 @@ static int real_main2 (int argc, TCHAR **argv)
|
|||
SDL_RenderSetLogicalSize(renderer, 800, 480);
|
||||
|
||||
texture = SDL_CreateTexture(renderer,
|
||||
SDL_PIXELFORMAT_ARGB8888,
|
||||
SDL_PIXELFORMAT_RGB565,
|
||||
SDL_TEXTUREACCESS_STREAMING,
|
||||
800,
|
||||
480);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue