diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index ee2fdf0f44e..dcca9541049 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -1451,10 +1451,10 @@ HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter, D3DDEVT if ((ps_mode == PS_HW) && GL_SUPPORT(ARB_FRAGMENT_PROGRAM) && (DeviceType != D3DDEVTYPE_REF)) { pCaps->PixelShaderVersion = D3DPS_VERSION(1,4); - pCaps->MaxPixelShaderValue = 1.0; + pCaps->PixelShader1xMaxValue = 1.0; } else { pCaps->PixelShaderVersion = 0; - pCaps->MaxPixelShaderValue = 0.0; + pCaps->PixelShader1xMaxValue = 0.0; } /* ------------------------------------------------ diff --git a/include/d3d9caps.h b/include/d3d9caps.h index 0731de5ef6d..c1b6cf4ee8a 100644 --- a/include/d3d9caps.h +++ b/include/d3d9caps.h @@ -364,7 +364,7 @@ typedef struct _D3DCAPS9 { DWORD MaxVertexShaderConst; DWORD PixelShaderVersion; - float MaxPixelShaderValue; + float PixelShader1xMaxValue; /* DX 9 */ DWORD DevCaps2;