Skip to content

Commit

Permalink
Fixed bug 4840 - Read of uninitialized memory in DXGI_LoadDLL (Thanks!)
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Oct 23, 2019
1 parent d5d34de commit c9d0e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/windows/SDL_windowsvideo.c
Expand Up @@ -386,7 +386,7 @@ SDL_DXGIGetOutputInfo(int displayIndex, int *adapterIndex, int *outputIndex)
void *pDXGIDLL;
char *displayName;
int nAdapter, nOutput;
IDXGIFactory *pDXGIFactory;
IDXGIFactory *pDXGIFactory = NULL;
IDXGIAdapter *pDXGIAdapter;
IDXGIOutput* pDXGIOutput;

Expand Down

0 comments on commit c9d0e2a

Please sign in to comment.