1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +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:
Aida Jonikienė 2024-05-26 10:08:50 +03:00 committed by Alexandre Julliard
parent 952a2c5b7b
commit 8857aa79bc
2 changed files with 15 additions and 0 deletions

View File

@ -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;

View File

@ -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},
};