mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-12 23:29:26 +00:00
Fix wrong value index being used
This commit is contained in:
1 parent
6a6aa9b446
commit
cb89bc5891
1 file changed
+1
-1
@@ -610,7 +610,7 @@ void MakeShaderReflection(const GLHookSet &gl, GLenum shadType, GLuint sepProg,
|
||||
|
||||
if(values[5] == -1 && values[2] >= 0)
|
||||
{
|
||||
var.reg.vec = values[3];
|
||||
var.reg.vec = values[2];
|
||||
var.reg.comp = 0;
|
||||
}
|
||||
else if(values[5] >= 0)
|
||||
|
||||
Reference in new issue
Block a user