mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-04 13:04:21 +00:00
Don't throw an error when serializing GL buffer initial state.
This commit is contained in:
1 parent
b09454a67d
commit
8fda0a817b
1 file changed
+5
-1
@@ -132,7 +132,11 @@ bool GLResourceManager::Serialise_InitialState(GLResource res)
|
||||
res = GLResource(MakeNullResource);
|
||||
}
|
||||
|
||||
if(res.Namespace == eResVertexArray)
|
||||
if(res.Namespace == eResBuffer)
|
||||
{
|
||||
// Nothing to serialize
|
||||
}
|
||||
else if(res.Namespace == eResVertexArray)
|
||||
{
|
||||
VertexArrayInitialData data[16];
|
||||
|
||||
|
||||
Reference in new issue
Block a user