mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-28 07:29:09 +00:00
Remove depth field from SDL_CreateRGBSurfaceWithFormat and SDL_Create… (#6685)
* Remove depth field from SDL_CreateRGBSurfaceWithFormat and SDL_CreateRGBSurfaceWithFormatFrom * Removed unused 'flags' parameter from SDL_CreateRGBSurface and SDL_CreateRGBSurfaceWithFormat * Removed unused 'flags' parameter from SDL_ConvertSurface and SDL_ConvertSurfaceFormat
This commit is contained in:
parent
6873082c34
commit
fc4fc5295f
30 changed files with 95 additions and 109 deletions
|
@ -1766,7 +1766,7 @@ SDLTest_ScreenShot(SDL_Renderer *renderer)
|
|||
}
|
||||
|
||||
SDL_RenderGetViewport(renderer, &viewport);
|
||||
surface = SDL_CreateRGBSurface(0, viewport.w, viewport.h, 24,
|
||||
surface = SDL_CreateRGBSurface(viewport.w, viewport.h, 24,
|
||||
#if SDL_BYTEORDER == SDL_LIL_ENDIAN
|
||||
0x00FF0000, 0x0000FF00, 0x000000FF,
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue