summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2014-08-15 15:21:01 -0600
committerBrian Paul <brianp@vmware.com>2014-08-16 06:48:44 -0600
commit9b4c6da7f08f3e1ae5df2d51e2b1dcf316d19288 (patch)
tree6332c99b5183aa09e9bdeaf2cee1c49851046ac5 /src/mesa/main/texstore.h
parent1e594d4f5c03ff9a59ab9a692ef94d122b491211 (diff)
downloadexternal_mesa3d-9b4c6da7f08f3e1ae5df2d51e2b1dcf316d19288.zip
external_mesa3d-9b4c6da7f08f3e1ae5df2d51e2b1dcf316d19288.tar.gz
external_mesa3d-9b4c6da7f08f3e1ae5df2d51e2b1dcf316d19288.tar.bz2
mesa: minor improvements to _mesa_compute_compressed_pixelstore()
Replace the gl_texture_image parameter with mesa_format since we only used the image's format. Add some comments. Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/main/texstore.h')
-rw-r--r--src/mesa/main/texstore.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h
index dd1e1d0..4c41d1f 100644
--- a/src/mesa/main/texstore.h
+++ b/src/mesa/main/texstore.h
@@ -150,10 +150,11 @@ struct compressed_pixelstore {
extern void
-_mesa_compute_compressed_pixelstore(GLuint dims, struct gl_texture_image *texImage,
- GLsizei width, GLsizei height, GLsizei depth,
- const struct gl_pixelstore_attrib *packing,
- struct compressed_pixelstore *store);
+_mesa_compute_compressed_pixelstore(GLuint dims, mesa_format texFormat,
+ GLsizei width, GLsizei height,
+ GLsizei depth,
+ const struct gl_pixelstore_attrib *packing,
+ struct compressed_pixelstore *store);
#endif