mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
st/nine: Ignore multisample quality level if no ms
Apparently instead of returning error when passing a quality level different than 0 for D3DMULTISAMPLE_NONE, we should pass. Fixes: https://github.com/iXit/Mesa-3D/issues/340 Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Axel Davy <davyaxel0@gmail.com>
This commit is contained in:
parent
86666f051e
commit
1d363d440f
1 changed files with 4 additions and 0 deletions
|
|
@ -377,6 +377,10 @@ d3dmultisample_type_check(struct pipe_screen *screen,
|
|||
if (levels)
|
||||
*levels = 1;
|
||||
|
||||
/* Ignores multisamplequality */
|
||||
if (*multisample == D3DMULTISAMPLE_NONE)
|
||||
return D3D_OK;
|
||||
|
||||
if (*multisample == D3DMULTISAMPLE_NONMASKABLE) {
|
||||
if (depth_stencil_format(format))
|
||||
bind = d3d9_get_pipe_depth_format_bindings(format);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue