mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 21:40:41 +00:00
Don't memset to 0 a variable that contains an stl string!
This commit is contained in:
@@ -766,7 +766,6 @@ void MakeShaderReflection(const GLHookSet &gl, GLenum shadType, GLuint sepProg,
|
||||
|
||||
// construct a parent variable
|
||||
DynShaderConstant parentVar;
|
||||
RDCEraseEl(parentVar);
|
||||
parentVar.name = base;
|
||||
parentVar.reg.vec = var.reg.vec;
|
||||
parentVar.reg.comp = 0;
|
||||
|
||||
Reference in New Issue
Block a user