diff options
author | Brian Paul <[email protected]> | 2014-08-15 15:21:01 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-08-16 06:48:44 -0600 |
commit | 9b4c6da7f08f3e1ae5df2d51e2b1dcf316d19288 (patch) | |
tree | 6332c99b5183aa09e9bdeaf2cee1c49851046ac5 /src/mesa/main/texstore.h | |
parent | 1e594d4f5c03ff9a59ab9a692ef94d122b491211 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/main/texstore.h')
-rw-r--r-- | src/mesa/main/texstore.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h index dd1e1d01562..4c41d1fcd9a 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 |