summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/readpix.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-02-07 07:42:33 -0700
committerBrian Paul <[email protected]>2012-02-07 07:45:40 -0700
commit938671397f6e88b68e77c93d6b440f9602950fbe (patch)
tree4604b2a7b4b6af39103bed30ea4e0198044cc10b /src/mesa/main/readpix.h
parentb8f7eef4ef84d53d32d08a70dc7daec623cf7eab (diff)
mesa: remove unused _mesa_error_check_format_type() function
This was only used by glReadPixels and glDrawPixels. Now those functions do the corresponding error checks. Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/readpix.h')
-rw-r--r--src/mesa/main/readpix.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/readpix.h b/src/mesa/main/readpix.h
index 6caaf3adce1..5a5f73f5295 100644
--- a/src/mesa/main/readpix.h
+++ b/src/mesa/main/readpix.h
@@ -33,10 +33,6 @@ 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,