summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pixelstore.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-08-15 16:28:59 -0600
committerBrian Paul <[email protected]>2014-08-16 06:48:44 -0600
commitcf8b680f40a4d1a48be82798b7a09da2d828bee5 (patch)
treec2d1ebcf39e3275ef5c96b7644266c54500c53e9 /src/mesa/main/pixelstore.h
parent9b4c6da7f08f3e1ae5df2d51e2b1dcf316d19288 (diff)
mesa: move _mesa_compressed_texture_pixel_storage_error_check()
to pixelstore.c, add const qualifier to the 'packing' parameter. Add comments. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/pixelstore.h')
-rw-r--r--src/mesa/main/pixelstore.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/pixelstore.h b/src/mesa/main/pixelstore.h
index 1b5347daf6f..68384548a0f 100644
--- a/src/mesa/main/pixelstore.h
+++ b/src/mesa/main/pixelstore.h
@@ -49,4 +49,12 @@ extern void
_mesa_init_pixelstore( struct gl_context *ctx );
+extern bool
+_mesa_compressed_pixel_storage_error_check(
+ struct gl_context *ctx,
+ GLint dimensions,
+ const struct gl_pixelstore_attrib *packing,
+ const char *caller);
+
+
#endif