Skip to content
Permalink
Browse files

Fixed logic error loading DXGI

  • Loading branch information
slouken committed Apr 18, 2014
1 parent 03afd0d commit d2ea7cfea4881894c49a7c874eeca15b9eea825b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/windows/SDL_windowsvideo.c
@@ -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 =

0 comments on commit d2ea7cf

Please sign in to comment.