summaryrefslogtreecommitdiff
path: root/GL/glx/render2.c
diff options
context:
space:
mode:
Diffstat (limited to 'GL/glx/render2.c')
-rw-r--r--GL/glx/render2.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/GL/glx/render2.c b/GL/glx/render2.c
index d4c523fea..2629a7025 100644
--- a/GL/glx/render2.c
+++ b/GL/glx/render2.c
@@ -234,16 +234,14 @@ void __glXDisp_DrawArrays(GLbyte *pc)
glEnableClientState(GL_EDGE_FLAG_ARRAY);
glEdgeFlagPointer(stride, (const GLboolean *)pc);
break;
-#ifndef MISSING_GL_EXTS
case GL_SECONDARY_COLOR_ARRAY:
glEnableClientState(GL_SECONDARY_COLOR_ARRAY);
glSecondaryColorPointer(numVals, datatype, stride, pc);
break;
- case GL_FOG_COORDINATE_ARRAY:
- glEnableClientState(GL_FOG_COORDINATE_ARRAY);
+ case GL_FOG_COORD_ARRAY:
+ glEnableClientState(GL_FOG_COORD_ARRAY);
glFogCoordPointer(datatype, stride, pc);
break;
-#endif
default:
break;
}
@@ -261,7 +259,7 @@ void __glXDisp_DrawArrays(GLbyte *pc)
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
glDisableClientState(GL_EDGE_FLAG_ARRAY);
glDisableClientState(GL_SECONDARY_COLOR_ARRAY);
- glDisableClientState(GL_FOG_COORDINATE_ARRAY);
+ glDisableClientState(GL_FOG_COORD_ARRAY);
}
void __glXDisp_DrawArraysEXT(GLbyte *pc)