mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-01-14 14:38:08 +00:00
Fixed bug 4840 - Read of uninitialized memory in DXGI_LoadDLL (Thanks!)
This commit is contained in:
parent
d5d34de4db
commit
c9d0e2ae0a
@ -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…
x
Reference in New Issue
Block a user