void GL_APIENTRY _mesa_GetClipPlanex(GLenum plane, GLfixed *equation) { unsigned int i; GLdouble converted_equation[4]; _mesa_GetClipPlane(plane, converted_equation); for (i = 0; i < ARRAY_SIZE(converted_equation); i++) { equation[i] = (GLfixed) (converted_equation[i] * 65536); } }
void GL_APIENTRY _es_GetClipPlanef(GLenum plane, GLfloat *equation) { unsigned int i; GLdouble converted_equation[4]; _mesa_GetClipPlane(plane, converted_equation); for (i = 0; i < Elements(converted_equation); i++) { equation[i] = (GLfloat) (converted_equation[i]); } }