mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:31:39 +00:00
dxdiagn: Add AGP properties.
Ground Control II complains about AGP acceleration being missing if these properties don't exist.
This commit is contained in:
parent
952a2c5b7b
commit
8857aa79bc
|
@ -1003,6 +1003,18 @@ static HRESULT fill_display_information_d3d(IDxDiagContainerImpl_Container *node
|
|||
if (FAILED(hr))
|
||||
goto cleanup;
|
||||
|
||||
hr = add_bool_property(display_adapter, L"bAGPEnabled", hardware_accel);
|
||||
if (FAILED(hr))
|
||||
goto cleanup;
|
||||
|
||||
hr = add_bool_property(display_adapter, L"bAGPExistenceValid", hardware_accel);
|
||||
if (FAILED(hr))
|
||||
goto cleanup;
|
||||
|
||||
hr = add_bool_property(display_adapter, L"bAGPExists", hardware_accel);
|
||||
if (FAILED(hr))
|
||||
goto cleanup;
|
||||
|
||||
hr = add_bool_property(display_adapter, L"bDDAccelerationEnabled", hardware_accel);
|
||||
if (FAILED(hr))
|
||||
goto cleanup;
|
||||
|
|
|
@ -878,6 +878,9 @@ static void test_DxDiag_DisplayDevices(void)
|
|||
{L"szManufacturer", VT_BSTR},
|
||||
{L"b3DAccelerationExists", VT_BOOL},
|
||||
{L"b3DAccelerationEnabled", VT_BOOL},
|
||||
{L"bAGPEnabled", VT_BOOL},
|
||||
{L"bAGPExistenceValid", VT_BOOL},
|
||||
{L"bAGPExists", VT_BOOL},
|
||||
{L"bDDAccelerationEnabled", VT_BOOL},
|
||||
{L"iAdapter", VT_UI4},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue