mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-03-03 08:02:52 +00:00
Fix SDL_PIXELFORMAT_INDEX1LSB test case
This commit is contained in:
parent
43fc6d593f
commit
dd51787e07
@ -693,7 +693,7 @@ surface_testOverflow(void *arg)
|
||||
SDLTest_AssertCheck(surface != NULL, "17px * 1 bit per px fits in 3 bytes: %s",
|
||||
surface != NULL ? "(success)" : SDL_GetError());
|
||||
SDL_FreeSurface(surface);
|
||||
surface = SDL_CreateRGBSurfaceFrom(buf, 7, 1, 1, 3, 0, 0, 0, 0);
|
||||
surface = SDL_CreateRGBSurfaceFrom(buf, 17, 1, 1, 3, 0, 0, 0, 0);
|
||||
SDLTest_AssertCheck(surface != NULL, "17px * 1 bit per px fits in 3 bytes: %s",
|
||||
surface != NULL ? "(success)" : SDL_GetError());
|
||||
SDL_FreeSurface(surface);
|
||||
|
Loading…
x
Reference in New Issue
Block a user