mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-19 21:16:34 +00:00
Don't mark framebuffer itself as dirty
This commit is contained in:
@@ -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