mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 06:24:57 +00:00
Set rows/columns to 0 when members[] contains array values
This commit is contained in:
1 parent
61eba9a460
commit
24ae01a3f7
1 file changed
+2
@@ -1231,6 +1231,7 @@ void GLReplay::FillCBufferVariables(WrappedOpenGL &gl, GLuint prog, bool bufferB
|
||||
arrelems.push_back(arrEl);
|
||||
}
|
||||
var.members = arrelems;
|
||||
var.rows = var.columns = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -1280,6 +1281,7 @@ void GLReplay::FillCBufferVariables(WrappedOpenGL &gl, GLuint prog, bool bufferB
|
||||
}
|
||||
|
||||
var.members = elems;
|
||||
var.rows = var.columns = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user