mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-07 12:51:33 +00:00
Don't mark framebuffer itself as dirty
This commit is contained in:
1 parent
314e9ee4db
commit
973bfaaad0
1 file changed
-2
@@ -906,7 +906,6 @@ void WrappedOpenGL::glInvalidateFramebuffer(GLenum target, GLsizei numAttachment
|
||||
if(record)
|
||||
{
|
||||
record->MarkParentsDirty(GetResourceManager());
|
||||
GetResourceManager()->MarkDirtyResource(record->GetResourceID());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -931,7 +930,6 @@ void WrappedOpenGL::glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachm
|
||||
if(record)
|
||||
{
|
||||
record->MarkParentsDirty(GetResourceManager());
|
||||
GetResourceManager()->MarkDirtyResource(record->GetResourceID());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user