diff --git a/src/video/SDL_surface.c b/src/video/SDL_surface.c index fe916195f..00430ae3b 100644 --- a/src/video/SDL_surface.c +++ b/src/video/SDL_surface.c @@ -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 */