mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
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)) {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user