wined3d: Set proper values for the guard band caps.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
adf73f7371
commit
ffc3c099d4
|
@ -2088,10 +2088,10 @@ HRESULT CDECL wined3d_get_device_caps(const struct wined3d_adapter *adapter,
|
||||||
caps->MaxTextureAspectRatio = d3d_info->limits.texture_size;
|
caps->MaxTextureAspectRatio = d3d_info->limits.texture_size;
|
||||||
caps->MaxVertexW = 1e10f;
|
caps->MaxVertexW = 1e10f;
|
||||||
|
|
||||||
caps->GuardBandLeft = 0.0f;
|
caps->GuardBandLeft = -32768.0f;
|
||||||
caps->GuardBandTop = 0.0f;
|
caps->GuardBandTop = -32768.0f;
|
||||||
caps->GuardBandRight = 0.0f;
|
caps->GuardBandRight = 32768.0f;
|
||||||
caps->GuardBandBottom = 0.0f;
|
caps->GuardBandBottom = 32768.0f;
|
||||||
|
|
||||||
caps->ExtentsAdjust = 0.0f;
|
caps->ExtentsAdjust = 0.0f;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue