mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
perform proper verification for creation of new sphere
This commit is contained in:
parent
084b77be50
commit
a41b003582
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue