remove d3d9_adapter setting
This commit is contained in:
parent
e42d000366
commit
ef9d5c350f
3 changed files with 3 additions and 6 deletions
|
@ -81,8 +81,8 @@ BOOL d3d9_create()
|
|||
#if _DEBUG
|
||||
D3DADAPTER_IDENTIFIER9 ai = {0};
|
||||
D3DCAPS9 caps = { 0 };
|
||||
HRESULT hr = IDirect3D9_GetAdapterIdentifier(g_d3d9.instance, g_ddraw->d3d9_adapter, 0, &ai);
|
||||
HRESULT hr2 = IDirect3D9_GetDeviceCaps(g_d3d9.instance, g_ddraw->d3d9_adapter, D3DDEVTYPE_HAL, &caps);
|
||||
HRESULT hr = IDirect3D9_GetAdapterIdentifier(g_d3d9.instance, D3DADAPTER_DEFAULT, 0, &ai);
|
||||
HRESULT hr2 = IDirect3D9_GetDeviceCaps(g_d3d9.instance, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, &caps);
|
||||
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
|
@ -145,7 +145,7 @@ BOOL d3d9_create()
|
|||
if (SUCCEEDED(
|
||||
IDirect3D9_CreateDevice(
|
||||
g_d3d9.instance,
|
||||
g_ddraw->d3d9_adapter,
|
||||
D3DADAPTER_DEFAULT,
|
||||
D3DDEVTYPE_HAL,
|
||||
g_ddraw->hwnd,
|
||||
behavior_flags[i] | (g_ddraw->fpupreserve ? D3DCREATE_FPU_PRESERVE : 0),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue