Fix 'potentially uninitialized local pointer variable' error in UWP builds

This commit is contained in:
Cameron Cawley authored and Sam Lantinga committed 2022-02-28 09:04:33 -08:00
1 parent b7f8117d40
commit 2f7b885df9
1 file changed
+1 -1
+1 -1
View File
@@ -2452,7 +2452,7 @@ static SDL_Surface *
SDL_CreateWindowFramebuffer(SDL_Window * window)
{
Uint32 format;
void *pixels;
void *pixels = NULL;
int pitch;
int bpp;
Uint32 Rmask, Gmask, Bmask, Amask;