Login  Register

Re: Curve text rendering and glBindVertexArray(0)

Posted by amitshesh on Sep 20, 2017; 11:48am
URL: https://forum.jogamp.org/Curve-text-rendering-and-glBindVertexArray-0-tp4038188p4038192.html

Yes, I suspect so. My problem is that this workaround is not portable (I don't know if this workaround will always work on windows and linux). What if on windows it binds my vao to 1 (my code uses glgenvertexarray)? Does jogl assume or hardcode vao id 1 to its text renderer?

On Sep 20, 2017 3:55 AM, "gouessej [via jogamp]" <[hidden email]> wrote:
Then, calling glBindVertexArray(1) probably binds the VAO used by the text rendering.
Julien Gouesse | Personal blog | Website



If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Curve-text-rendering-and-glBindVertexArray-0-tp4038188p4038191.html
To unsubscribe from Curve text rendering and glBindVertexArray(0), click here.
NAML