mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
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)
|
||||
{
|
||||
*pDXGIDLL = SDL_LoadObject("DXGI.DLL");
|
||||
if (!*pDXGIDLL) {
|
||||
if (*pDXGIDLL) {
|
||||
HRESULT (WINAPI *CreateDXGI)( REFIID riid, void **ppFactory );
|
||||
|
||||
CreateDXGI =
|
||||
|
Loading…
Reference in New Issue
Block a user