mirror of
https://github.com/joel16/SDL2.git
synced 2025-03-03 17:07:15 +00:00
Zeroed out SDL_Surface::unused1 so glSDL will work on stock SDL
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40442
This commit is contained in:
parent
c077c03867
commit
16a3c5faef
@ -107,6 +107,7 @@ SDL_Surface * SDL_CreateRGBSurface (Uint32 flags,
|
||||
surface->locked = 0;
|
||||
surface->map = NULL;
|
||||
surface->format_version = 0;
|
||||
surface->unused1 = 0;
|
||||
SDL_SetClipRect(surface, NULL);
|
||||
|
||||
/* Get the pixels */
|
||||
|
Loading…
x
Reference in New Issue
Block a user