Rename _D3DCAPS9.MaxPixelShaderValue to the correct
_D3DCAPS9.PixelShader1xMaxValue.
This commit is contained in:
parent
4b600b8736
commit
4dfabb0bd1
|
@ -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)) {
|
if ((ps_mode == PS_HW) && GL_SUPPORT(ARB_FRAGMENT_PROGRAM) && (DeviceType != D3DDEVTYPE_REF)) {
|
||||||
pCaps->PixelShaderVersion = D3DPS_VERSION(1,4);
|
pCaps->PixelShaderVersion = D3DPS_VERSION(1,4);
|
||||||
pCaps->MaxPixelShaderValue = 1.0;
|
pCaps->PixelShader1xMaxValue = 1.0;
|
||||||
} else {
|
} else {
|
||||||
pCaps->PixelShaderVersion = 0;
|
pCaps->PixelShaderVersion = 0;
|
||||||
pCaps->MaxPixelShaderValue = 0.0;
|
pCaps->PixelShader1xMaxValue = 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------------------
|
/* ------------------------------------------------
|
||||||
|
|
|
@ -364,7 +364,7 @@ typedef struct _D3DCAPS9 {
|
||||||
DWORD MaxVertexShaderConst;
|
DWORD MaxVertexShaderConst;
|
||||||
|
|
||||||
DWORD PixelShaderVersion;
|
DWORD PixelShaderVersion;
|
||||||
float MaxPixelShaderValue;
|
float PixelShader1xMaxValue;
|
||||||
|
|
||||||
/* DX 9 */
|
/* DX 9 */
|
||||||
DWORD DevCaps2;
|
DWORD DevCaps2;
|
||||||
|
|
Loading…
Reference in New Issue