Only serialise sampler binds when capturing a frame

This commit is contained in:
baldurk
2016-08-02 11:59:42 +02:00
parent e08ce7239c
commit 636ea250c8
@@ -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);