Zeroed out SDL_Surface::unused1 so glSDL will work on stock SDL

This commit is contained in:
Sam Lantinga
2002-08-17 19:17:01 +00:00
parent 7aad1077dc
commit 9caf43609a

View File

@@ -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 */