Lines Matching refs:face
139 void STATE_APIENTRY crStateColorMaterial (GLenum face, GLenum mode)
154 if (face != GL_FRONT &&
155 face != GL_BACK &&
156 face != GL_FRONT_AND_BACK)
158 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "ColorMaterial: Bogus face &d", face);
172 l->colorMaterialFace = face;
507 void STATE_APIENTRY crStateMaterialfv (GLenum face, GLenum pname, const GLfloat *param)
522 switch (face)
543 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glMaterialfv: bad face: 0x%x", face);
548 switch (face)
569 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glMaterialfv: bad face: 0x%x", face);
574 switch (face)
595 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glMaterialfv: bad face: 0x%x", face);
600 switch (face)
621 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glMaterialfv: bad face: 0x%x", face);
626 switch (face)
647 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glMaterialfv: bad face: 0x%x", face);
658 switch (face)
670 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glMaterialfv: bad face: 0x%x", face);
675 switch (face)
693 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, "glMaterialfv: bad face: 0x%x", face);
705 void STATE_APIENTRY crStateMaterialiv (GLenum face, GLenum pname, const GLint *param)
721 crStateMaterialfv( face, pname, (GLfloat *) &f_color );
725 crStateMaterialfv( face, pname, (GLfloat *) &f_param );
729 crStateMaterialfv( face, pname, (GLfloat *) &f_param );
737 void STATE_APIENTRY crStateMaterialf (GLenum face, GLenum pname, GLfloat param)
739 crStateMaterialfv( face, pname, ¶m );
742 void STATE_APIENTRY crStateMateriali (GLenum face, GLenum pname, GLint param)
745 crStateMaterialfv( face, pname, &f_param );
914 void STATE_APIENTRY crStateGetMaterialfv (GLenum face, GLenum pname, GLfloat *param)
929 switch (face)
945 "glGetMaterialfv: bad face: 0x%x", face);
950 switch (face)
966 "glGetMaterialfv: bad face: 0x%x", face);
971 switch (face)
987 "glGetMaterialfv: bad face: 0x%x", face);
992 switch (face)
1008 "glGetMaterialfv: bad face: 0x%x", face);
1013 switch (face)
1023 "glGetMaterialfv: bad face: 0x%x", face);
1028 switch (face)
1042 "glGetMaterialfv: bad face: 0x%x", face);
1054 void STATE_APIENTRY crStateGetMaterialiv (GLenum face, GLenum pname, GLint *param)
1069 switch (face)
1085 "glGetMaterialiv: bad face: 0x%x", face);
1090 switch (face)
1106 "glGetMaterialiv: bad face: 0x%x", face);
1111 switch (face)
1127 "glGetMaterialiv: bad face: 0x%x", face);
1132 switch (face)
1148 "glGetMaterialiv: bad face: 0x%x", face);
1153 switch (face) {
1162 "glGetMaterialiv: bad face: 0x%x", face);
1167 switch (face)
1181 "glGetMaterialiv: bad face: 0x%x", face);