Zeroed out SDL_Surface::unused1 so glSDL will work on stock SDL
authorSam Lantinga <slouken@libsdl.org>
Sat, 17 Aug 2002 19:17:01 +0000
changeset 441 598b25b9bffe
parent 440 791d5ce383bc
child 442 b37ce4813ad4
Zeroed out SDL_Surface::unused1 so glSDL will work on stock SDL
src/video/SDL_surface.c
--- 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 */