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