mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01: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;
|
void *pDXGIDLL;
|
||||||
char *displayName;
|
char *displayName;
|
||||||
int nAdapter, nOutput;
|
int nAdapter, nOutput;
|
||||||
IDXGIFactory *pDXGIFactory;
|
IDXGIFactory *pDXGIFactory = NULL;
|
||||||
IDXGIAdapter *pDXGIAdapter;
|
IDXGIAdapter *pDXGIAdapter;
|
||||||
IDXGIOutput* pDXGIOutput;
|
IDXGIOutput* pDXGIOutput;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user