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:
Matteo Bruni 2020-07-22 19:00:56 +02:00 committed by Alexandre Julliard
parent adf73f7371
commit ffc3c099d4
1 changed files with 4 additions and 4 deletions

View File

@ -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;