mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-27 17:06:32 +00:00
Fix wrong value index being used
This commit is contained in:
@@ -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