mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-17 07:21:03 +00:00
Only serialise sampler binds when capturing a frame
This commit is contained in:
@@ -202,7 +202,7 @@ void WrappedOpenGL::glBindSamplers(GLuint first, GLsizei count, const GLuint *sa
|
||||
{
|
||||
m_Real.glBindSamplers(first, count, samplers);
|
||||
|
||||
if(m_State >= WRITING)
|
||||
if(m_State == WRITING_CAPFRAME)
|
||||
{
|
||||
SCOPED_SERIALISE_CONTEXT(BIND_SAMPLERS);
|
||||
Serialise_glBindSamplers(first, count, samplers);
|
||||
|
||||
Reference in New Issue
Block a user