rt(d3d9): fix vertex assignments accidentally searching fragment
This commit is contained in:
parent
1c6581d737
commit
5ef0055e05
|
@ -62,7 +62,7 @@ impl ConstantRegister {
|
||||||
.iter()
|
.iter()
|
||||||
.find_map(|(mangled_name, register)| {
|
.find_map(|(mangled_name, register)| {
|
||||||
if context
|
if context
|
||||||
.fragment_buffers
|
.vertex_buffers
|
||||||
.contains_uniform(uniform_name, mangled_name)
|
.contains_uniform(uniform_name, mangled_name)
|
||||||
{
|
{
|
||||||
Some(register)
|
Some(register)
|
||||||
|
|
Loading…
Reference in a new issue