Hello folks, merry Christmas!
I’ve been developing a simple Cinder app which mostly renders post-processing fragment shaders with multiple passes. Part of the workflow is hot reloading the shader every time I edit the file so I can iterate without restarting the app. I noticed that fairly intermittently the rendering would freeze when I edit a shader. After closer investigation, it seems that it’s a
GL_INVALID_OPERATION error which happens after I call
drawSolidRect(). With the multiple passes I am doing quite a lot of texture / FBO binding and unbinding, but not sure why this error is so intermittent.
Any idea what is happening? Is there a way to get better debug information? What I did is basically sprinkle
getError() calls through my rendering code to see what call exactly was creating an issue and this is how I got to