This is part of my draw code for drawing a triangle vertex:
glColorMask(GL_FALSE, GL_FALSE, GL_FALSE,GL_FALSE);
glVertex3f(pObject->pVerts[ index ].x, pObject->pVerts[ index ].y, pObject->pVerts[ index ].z);
I don’t understand why it is still drawing because I masked the colors. If I comment out the glVertex3f line, then it doesn’t draw, so I am sure that I am looking at the correct place in the code.
Is there something else I need to do?