# HG changeset patch # User Sam Lantinga # Date 1029611821 0 # Node ID 598b25b9bffe6219bfd1623448650300eb10c6b9 # Parent 791d5ce383bcc94723285be7c0012099b0740dbe Zeroed out SDL_Surface::unused1 so glSDL will work on stock SDL diff -r 791d5ce383bc -r 598b25b9bffe 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 */