diff options
author | Laura Ekstrand <[email protected]> | 2015-01-06 15:27:32 -0800 |
---|---|---|
committer | Laura Ekstrand <[email protected]> | 2015-03-09 13:33:53 -0700 |
commit | 4080c330fa2868017c99b059b8e5ccf8d4eaa938 (patch) | |
tree | 5c3959df94defce9606eadde8c783f8f0d80732c /src/mesa/main/teximage.h | |
parent | 70eab80f802b26ac87fe9c3e1fa819affe903afd (diff) |
main: Add TEXTURE_CUBE_MAP support for glCompressedTextureSubImage3D.
v2: Review from Anuj Phogat
- Remove redundant copies of the cube map block comment
- Replace redundant "if (!texImage) return;" statements with
assert(texImage)
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r-- | src/mesa/main/teximage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index b7336bc6cdb..9468650f519 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -181,13 +181,14 @@ _mesa_texture_sub_image(struct gl_context *ctx, GLuint dims, extern void _mesa_compressed_texture_sub_image(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, + struct gl_texture_image *texImage, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, - const GLvoid *data, bool dsa); + const GLvoid *data); extern void _mesa_copy_texture_sub_image(struct gl_context *ctx, GLuint dims, |