darwin: Use clientattrib
[mesa.git] / src / glx / clientattrib.c
index a7dfb5348603444752fe2b4a44741ff519888f48..b26c17938db9d750d5d0387da85585d79ffe333c 100644 (file)
@@ -35,6 +35,7 @@
 
 /*****************************************************************************/
 
+#ifndef GLX_USE_APPLEGL
 static void
 do_enable_disable(GLenum array, GLboolean val)
 {
@@ -123,6 +124,7 @@ __indirect_glPopClientAttrib(void)
       return;
    }
 }
+#endif
 
 void
 __glFreeAttributeState(__GLXcontext * gc)