Commit 7c44cf86 by John Bauman Committed by Nicolas Capens

Fix sampler usage

Patch from Nicolas at Transgaming.
parent 3779153d
......@@ -1911,7 +1911,7 @@ namespace sh
for(int i = 0; i < sampler->totalRegisterCount(); i++)
{
shader->declareSampler(i);
shader->declareSampler(index + i);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment