From 9caf43609a7cc47a9b6ea257b368a67ce5e96277 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 17 Aug 2002 19:17:01 +0000 Subject: [PATCH] Zeroed out SDL_Surface::unused1 so glSDL will work on stock SDL --- src/video/SDL_surface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/SDL_surface.c b/src/video/SDL_surface.c index fe916195f..00430ae3b 100644 --- a/src/video/SDL_surface.c +++ b/src/video/SDL_surface.c @@ -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 */