mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-29 18:15:13 +00:00
Be much less forgiving about glBufferSubData calls marking high-traffic
This commit is contained in:
1 parent
debc787eb9
commit
884ee00107
1 file changed
+2
-2
@@ -691,7 +691,7 @@ void WrappedOpenGL::glNamedBufferSubDataEXT(GLuint buffer, GLintptr offset, GLsi
|
||||
record->AddChunk(chunk);
|
||||
record->UpdateCount++;
|
||||
|
||||
if(record->UpdateCount > 60)
|
||||
if(record->UpdateCount > 10)
|
||||
{
|
||||
m_HighTrafficResources.insert(record->GetResourceID());
|
||||
GetResourceManager()->MarkDirtyResource(record->GetResourceID());
|
||||
@@ -732,7 +732,7 @@ void WrappedOpenGL::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr s
|
||||
record->AddChunk(chunk);
|
||||
record->UpdateCount++;
|
||||
|
||||
if(record->UpdateCount > 60)
|
||||
if(record->UpdateCount > 10)
|
||||
{
|
||||
m_HighTrafficResources.insert(record->GetResourceID());
|
||||
GetResourceManager()->MarkDirtyResource(record->GetResourceID());
|
||||
|
||||
Reference in new issue
Block a user