Re: JOGL2 TextRenderer throws GLException if using Pixel Buffer Objects
Posted by Matteo Battaglio on Oct 17, 2011; 9:44am
URL: https://forum.jogamp.org/JOGL2-TextRenderer-throws-GLException-if-using-Pixel-Buffer-Objects-tp3421923p3427747.html
OK, I played around with glBindBuffer and I found that I was forgetting to unbind the buffer in some parts of the code.
After fixing that, now the behaviour is that I can see the text until I try to display the first video frame texture because then my application crashes.
If however I comment the 3 lines involving TextRenderer my application runs well (without rendering the text obviously).
Then I tried replacing those lines with a piece of code which draws a texture image without using PBOs/VBOs (using vertex and texture arrays, like TextRenderer does if I'm not wrong), and all works fine.
Could it possibly be an issue of TextRenderer?