Skip to content

Commit

Permalink
Zeroed out SDL_Surface::unused1 so glSDL will work on stock SDL
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 17, 2002
1 parent a0fbadc commit 1fbbfba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/SDL_surface.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 1fbbfba

Please sign in to comment.