mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-30 16:37:39 +00:00
loadso: library handles are now SDL_SharedObject*
instead of void*
.
Improved the SDL_loadso.h documentation a little, too. Fixes #11009.
This commit is contained in:
parent
f351395c46
commit
0b5e01a305
38 changed files with 102 additions and 73 deletions
|
@ -576,8 +576,8 @@ struct D3D12Renderer
|
|||
IDXGIInfoQueue *dxgiInfoQueue;
|
||||
#endif
|
||||
IDXGIAdapter1 *adapter;
|
||||
void *dxgi_dll;
|
||||
void *dxgidebug_dll;
|
||||
SDL_SharedObject *dxgi_dll;
|
||||
SDL_SharedObject *dxgidebug_dll;
|
||||
#endif
|
||||
ID3D12Debug *d3d12Debug;
|
||||
bool supportsTearing;
|
||||
|
@ -7762,8 +7762,8 @@ static bool D3D12_PrepareDriver(SDL_VideoDevice *_this)
|
|||
#if defined(SDL_PLATFORM_XBOXONE) || defined(SDL_PLATFORM_XBOXSERIES)
|
||||
return true;
|
||||
#else
|
||||
void *d3d12Dll;
|
||||
void *dxgiDll;
|
||||
SDL_SharedObject *d3d12Dll;
|
||||
SDL_SharedObject *dxgiDll;
|
||||
PFN_D3D12_CREATE_DEVICE D3D12CreateDeviceFunc;
|
||||
PFN_CREATE_DXGI_FACTORY1 CreateDXGIFactoryFunc;
|
||||
HRESULT res;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue