Fixed bug 4840 - Read of uninitialized memory in DXGI_LoadDLL (Thanks!)
This commit is contained in:
parent
a5f949624b
commit
71fd3d0433
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue