Skip to content

Commit

Permalink
Fix 'potentially uninitialized local pointer variable' error in UWP b…
Browse files Browse the repository at this point in the history
…uilds
  • Loading branch information
ccawley2011 authored and slouken committed Feb 28, 2022
1 parent b7f8117 commit 2f7b885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2f7b885

Please sign in to comment.