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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue