mirror of https://github.com/encounter/SDL.git
Fix 'potentially uninitialized local pointer variable' error in UWP builds
This commit is contained in:
parent
b7f8117d40
commit
2f7b885df9
|
@ -2452,7 +2452,7 @@ static SDL_Surface *
|
||||||
SDL_CreateWindowFramebuffer(SDL_Window * window)
|
SDL_CreateWindowFramebuffer(SDL_Window * window)
|
||||||
{
|
{
|
||||||
Uint32 format;
|
Uint32 format;
|
||||||
void *pixels;
|
void *pixels = NULL;
|
||||||
int pitch;
|
int pitch;
|
||||||
int bpp;
|
int bpp;
|
||||||
Uint32 Rmask, Gmask, Bmask, Amask;
|
Uint32 Rmask, Gmask, Bmask, Amask;
|
||||||
|
|
Loading…
Reference in New Issue