mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 13:15:57 +00:00
Set rows/columns to 0 when members[] contains array values
This commit is contained in:
@@ -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