perform proper verification for creation of new sphere

This commit is contained in:
Stephen Birarda 2013-03-28 11:47:23 -07:00
parent 084b77be50
commit a41b003582

View file

@ -456,7 +456,7 @@ void Head::render(int faceToFace, int isMine)
glPopMatrix();
// Right Pupil
if (!sphere) {
if (sphere == NULL) {
sphere = gluNewQuadric();
gluQuadricTexture(sphere, GL_TRUE);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);