diff options
author | Chris Forbes <[email protected]> | 2014-05-20 23:41:59 +1200 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-06-10 07:42:44 +1200 |
commit | d6e60cb504b5c05f4d7f5a71f5a81c25e53d3785 (patch) | |
tree | c3dbe72652d0dc7480c499e399deea3e3b4e6f2d /src/mesa/main/teximage.h | |
parent | 75a5823749420bbbb71a00abe482bd40d4d2c97b (diff) |
mesa: Emit errors for inconsistent compressed pixel store state
V2: Use bool rather than GLboolean for internal function
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r-- | src/mesa/main/teximage.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index 51d94d17e82..dd1504b405c 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -326,6 +326,12 @@ _mesa_TexStorage3DMultisample(GLenum target, GLsizei samples, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +bool +_mesa_compressed_texture_pixel_storage_error_check(struct gl_context *ctx, + GLint dimensions, + struct gl_pixelstore_attrib *packing, + const char *caller); + /*@}*/ #ifdef __cplusplus |