I want to use transform feedback to store the result of a tessellation shader. Secondly, I want to use glDrawElements, not glDrawArrays.
However, I always get an invalid_operation error when doing the drawing call.
I read that glDrawElements will produce this error if transform feedback is "not paused".
Does this mean that I can't combine the two at all? What's the reason for this limitation?
I also noticed that I can't find any examples where transform feedback is used with the GL_PATCHES mode (which is neccessary for tessellation), but I guess this is only because it's a rather new feature and probably not the reason of my error.
Any hints appreciated.