mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 21:17:45 +00:00
Fixed logic error loading DXGI
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user