mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
st/nine: Fix D3DRS_LOCALVIEWER being ignored
Set key->localviewer to D3DRS_LOCALVIEWER. Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
parent
aa4454ae85
commit
9c26fa1b13
1 changed files with 2 additions and 0 deletions
|
|
@ -1500,6 +1500,8 @@ nine_ff_get_vs(struct NineDevice9 *device)
|
|||
if (key.fog_mode)
|
||||
key.fog_range = !key.position_t && state->rs[D3DRS_RANGEFOGENABLE];
|
||||
|
||||
key.localviewer = !!state->rs[D3DRS_LOCALVIEWER];
|
||||
|
||||
if (state->rs[D3DRS_VERTEXBLEND] != D3DVBF_DISABLE) {
|
||||
key.vertexblend_indexed = !!state->rs[D3DRS_INDEXEDVERTEXBLENDENABLE];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue