OpenSceneGraph icon indicating copy to clipboard operation
OpenSceneGraph copied to clipboard

Fix: Removed drawing from compileGLObjects method of text.

Open deimon opened this issue 4 years ago • 1 comments

At the moment, in compileGLObjects method of text, not only the preparation of glBuffers takes place, but also the rendering itself. This leads to text rendering in those moments when it should not be.

deimon avatar Mar 22 '21 10:03 deimon

I've just done a first pass review. That's a lot of additional code, all that additional code will need to debugged and maintained. So while I can see it might fix a particular usage case, I think we should look for simpler ways of addressing the issue.

Could you provide a code example where the problem you are trying to address appears?

robertosfield avatar Jun 24 '21 11:06 robertosfield