Issue 2: 3dsplay out of bounds var causes opengl error
Status:  Fixed
Owner: ----
Closed:  Jan 2010
Project Member Reported by jkypr...@gmail.com, Jan 20, 2010
In render_node() as is, glGetError() can return GL_INVALID_VALUE. This is
caused by the line

glMaterialf(GL_FRONT, GL_SHININESS, pow(2, 10.0*mat->shininess));

Change that to

glMaterialf(GL_FRONT, GL_SHININESS, min(128.,pow(2,
10.0*mat->shininess)));

to resolve the issue. I've seen mat->shininess be 10.0 in file,
GL_SHININESS should not be passed over 128.
Jan 20, 2010
Project Member #1 jkypr...@gmail.com
Sorry, I meant to say I found mat->shininess to be 1.00 there.
Jan 21, 2010
Project Member #2 jkypr...@gmail.com
This issue was closed by revision r104.
Status: Fixed
Mergedinto: -