Lines Matching defs:mode
36 RESET(pb->mode, ctx->bitid);
45 void STATE_APIENTRY crStateCullFace(GLenum mode)
61 if (mode != GL_FRONT && mode != GL_BACK && mode != GL_FRONT_AND_BACK)
64 "glCullFace called with bogus mode: 0x%x", mode);
68 p->cullFaceMode = mode;
69 DIRTY(pb->mode, g->neg_bitid);
73 void STATE_APIENTRY crStateFrontFace (GLenum mode)
89 if (mode != GL_CW && mode != GL_CCW)
92 "glFrontFace called with bogus mode: 0x%x", mode);
96 p->frontFace = mode;
97 DIRTY(pb->mode, g->neg_bitid);
101 void STATE_APIENTRY crStatePolygonMode (GLenum face, GLenum mode)
117 if (mode != GL_POINT && mode != GL_LINE && mode != GL_FILL)
120 "glPolygonMode called with bogus mode: 0x%x", mode);
126 p->frontMode = mode;
129 p->frontMode = mode;
131 p->backMode = mode;
138 DIRTY(pb->mode, g->neg_bitid);