changeset 441:598b25b9bffe

Zeroed out SDL_Surface::unused1 so glSDL will work on stock SDL
author Sam Lantinga <slouken@libsdl.org>
date Sat, 17 Aug 2002 19:17:01 +0000
parents 791d5ce383bc
children b37ce4813ad4
files src/video/SDL_surface.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_surface.c	Sat Aug 17 18:11:23 2002 +0000
+++ b/src/video/SDL_surface.c	Sat Aug 17 19:17:01 2002 +0000
@@ -107,6 +107,7 @@
 	surface->locked = 0;
 	surface->map = NULL;
 	surface->format_version = 0;
+	surface->unused1 = 0;
 	SDL_SetClipRect(surface, NULL);
 
 	/* Get the pixels */