st/mesa: undo a couple static asserts
[mesa.git] / src / mesa / main / readpix.h
index f6bb3d6e273c7b1afd49572b6f2a9656ffa985f3..5a5f73f52950b099712dab8a6e7a667b501e9b12 100644 (file)
 #include "glheader.h"
 
 struct gl_context;
+struct gl_pixelstore_attrib;
 
-extern GLboolean
-_mesa_error_check_format_type(struct gl_context *ctx, GLenum format, GLenum type,
-                              GLboolean drawing);
+
+extern void
+_mesa_readpixels(struct gl_context *ctx,
+                 GLint x, GLint y, GLsizei width, GLsizei height,
+                 GLenum format, GLenum type,
+                 const struct gl_pixelstore_attrib *packing,
+                 GLvoid *pixels);
 
 extern void GLAPIENTRY
 _mesa_ReadPixels( GLint x, GLint y, GLsizei width, GLsizei height,