Rename _D3DCAPS9.MaxPixelShaderValue to the correct

_D3DCAPS9.PixelShader1xMaxValue.
This commit is contained in:
Oliver Stieber 2005-06-16 20:42:55 +00:00 committed by Alexandre Julliard
parent 4b600b8736
commit 4dfabb0bd1
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}
/* ------------------------------------------------

View File

@ -364,7 +364,7 @@ typedef struct _D3DCAPS9 {
DWORD MaxVertexShaderConst;
DWORD PixelShaderVersion;
float MaxPixelShaderValue;
float PixelShader1xMaxValue;
/* DX 9 */
DWORD DevCaps2;