Fixed logic error loading DXGI
authorSam Lantinga <slouken@libsdl.org>
Fri, 18 Apr 2014 12:43:10 -0700
changeset 872097d23eef62fd
parent 8719 135b8fef4adb
child 8721 d73e451f1dc5
Fixed logic error loading DXGI
src/video/windows/SDL_windowsvideo.c
     1.1 --- a/src/video/windows/SDL_windowsvideo.c	Fri Apr 18 12:43:04 2014 -0700
     1.2 +++ b/src/video/windows/SDL_windowsvideo.c	Fri Apr 18 12:43:10 2014 -0700
     1.3 @@ -253,7 +253,7 @@
     1.4  DXGI_LoadDLL(void **pDXGIDLL, IDXGIFactory **pDXGIFactory)
     1.5  {
     1.6      *pDXGIDLL = SDL_LoadObject("DXGI.DLL");
     1.7 -    if (!*pDXGIDLL) {
     1.8 +    if (*pDXGIDLL) {
     1.9          HRESULT (WINAPI *CreateDXGI)( REFIID riid, void **ppFactory );
    1.10  
    1.11          CreateDXGI =