Commit 4dfabb0b authored by Oliver Stieber's avatar Oliver Stieber Committed by Alexandre Julliard

Rename _D3DCAPS9.MaxPixelShaderValue to the correct

_D3DCAPS9.PixelShader1xMaxValue.
parent 4b600b87
......@@ -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;
}
/* ------------------------------------------------
......
......@@ -364,7 +364,7 @@ typedef struct _D3DCAPS9 {
DWORD MaxVertexShaderConst;
DWORD PixelShaderVersion;
float MaxPixelShaderValue;
float PixelShader1xMaxValue;
/* DX 9 */
DWORD DevCaps2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment