projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c61eb3c
)
st/nine: Fix multisample limit check
author
Axel Davy
<axel.davy@ens.fr>
Sun, 16 Oct 2016 09:44:09 +0000
(11:44 +0200)
committer
Axel Davy
<axel.davy@ens.fr>
Sun, 16 Oct 2016 22:02:52 +0000
(
00:02
+0200)
Fixes regression introduced by
b5603056872708fdd82f1224854097805a01d4c0
The regression prevents some apps to start.
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/adapter9.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/adapter9.c
b/src/gallium/state_trackers/nine/adapter9.c
index
e9c911b
..
f00590d
100644
(file)
--- 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))