diff options
author | Axel Davy <[email protected]> | 2016-10-16 11:44:09 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-10-17 00:02:52 +0200 |
commit | 9baf4505fb31d3fbd2d18ca8b5e732079ef4af66 (patch) | |
tree | ea00f4006022209196a06ae126f6ca61cc4aa045 /src | |
parent | c61eb3c91cfcce48f5d0f0507123bdf107cb976b (diff) |
st/nine: Fix multisample limit check
Fixes regression introduced by
b5603056872708fdd82f1224854097805a01d4c0
The regression prevents some apps to start.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/nine/adapter9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/adapter9.c b/src/gallium/state_trackers/nine/adapter9.c index e9c911b1ea6..f00590dddbe 100644 --- a/src/gallium/state_trackers/nine/adapter9.c +++ b/src/gallium/state_trackers/nine/adapter9.c @@ -393,7 +393,7 @@ NineAdapter9_CheckDeviceMultiSampleType( struct NineAdapter9 *This, /* In error cases return only 1 quality level supported */ *pQualityLevels = 1; } - user_assert(MultiSampleType < D3DMULTISAMPLE_16_SAMPLES, D3DERR_INVALIDCALL); + user_assert(MultiSampleType <= D3DMULTISAMPLE_16_SAMPLES, D3DERR_INVALIDCALL); hr = NineAdapter9_GetScreen(This, DeviceType, &screen); if (FAILED(hr)) |