Login  Register

glGetError() function called twice inside glBufferData

Posted by ac on Sep 13, 2015; 8:59pm
URL: https://forum.jogamp.org/glGetError-function-called-twice-inside-glBufferData-tp4035278.html

Hey guys, after some gl profiling, we have noticed that the glGetError() function gets called twice inside glBufferData()... this looks strange as it might affect performance with continuous state queries... Maybe it does not have a noticeable effect, but it is often recommended not to use glGetError() in production code, so just wondering.

Andres