Drop GLcontext typedef and use struct gl_context instead
[mesa.git] / src / mesa / main / readpix.c
index bb3fb9eb6620dc45f394405bed201de697c895c6..0043c8adc412a50007910eb719419bd16754b956 100644 (file)
@@ -40,7 +40,7 @@
  * \return GL_TRUE if error detected, GL_FALSE if no errors
  */
 GLboolean
-_mesa_error_check_format_type(GLcontext *ctx, GLenum format, GLenum type,
+_mesa_error_check_format_type(struct gl_context *ctx, GLenum format, GLenum type,
                               GLboolean drawing)
 {
    const char *readDraw = drawing ? "Draw" : "Read";