Fixed logic error loading DXGI

This commit is contained in:
Sam Lantinga 2014-04-18 12:43:10 -07:00
parent 03afd0de40
commit d2ea7cfea4

View File

@ -253,7 +253,7 @@ SDL_bool
DXGI_LoadDLL(void **pDXGIDLL, IDXGIFactory **pDXGIFactory)
{
*pDXGIDLL = SDL_LoadObject("DXGI.DLL");
if (!*pDXGIDLL) {
if (*pDXGIDLL) {
HRESULT (WINAPI *CreateDXGI)( REFIID riid, void **ppFactory );
CreateDXGI =