Tuesday, December 9, 2014

Avoiding __psynch_mutexwait in glBegin

The following code in a Mac openFrameworks project was hanging occasionally when I controlled the point size via a slider box (graphic card = AMD FirePro D500):

glPointSize(scaledPointSize);
glBegin(GL_POINTS);

resulting in a hang in __psynch_mutexwait inside glBegin.
The hang doesn't arise as long as I don't let scaledPointSize exceed 30. So that is a fix — of sorts.



No comments:

Post a Comment