diff src/video/SDL_surface.c @ 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 41cadcba32e8
children 1be0cdaf8092
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 */