mirror of https://github.com/encounter/SDL.git
Fixed logic error loading DXGI
This commit is contained in:
parent
03afd0de40
commit
d2ea7cfea4
|
@ -253,7 +253,7 @@ SDL_bool
|
||||||
DXGI_LoadDLL(void **pDXGIDLL, IDXGIFactory **pDXGIFactory)
|
DXGI_LoadDLL(void **pDXGIDLL, IDXGIFactory **pDXGIFactory)
|
||||||
{
|
{
|
||||||
*pDXGIDLL = SDL_LoadObject("DXGI.DLL");
|
*pDXGIDLL = SDL_LoadObject("DXGI.DLL");
|
||||||
if (!*pDXGIDLL) {
|
if (*pDXGIDLL) {
|
||||||
HRESULT (WINAPI *CreateDXGI)( REFIID riid, void **ppFactory );
|
HRESULT (WINAPI *CreateDXGI)( REFIID riid, void **ppFactory );
|
||||||
|
|
||||||
CreateDXGI =
|
CreateDXGI =
|
||||||
|
|
Loading…
Reference in New Issue