aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorEduardo Lima Mitev <[email protected]>2016-01-12 19:36:20 +0100
committerEduardo Lima Mitev <[email protected]>2016-03-03 15:14:06 +0100
commitc5cf16a4fcf64eb1f6b5923e0d46b3f7dfee23a9 (patch)
treed66d6c92775d22bf38ab3ecae9cb025b9dcec3fe /src/mesa/main/teximage.h
parent4e33278b39f5292b5ca82281f7b364d402ba48b2 (diff)
mesa/teximage: add _mesa_is_cube_map_texture utility method
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r--src/mesa/main/teximage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index 5a29c6c687d..8b687062a67 100644
--- a/src/mesa/main/teximage.h
+++ b/src/mesa/main/teximage.h
@@ -256,6 +256,10 @@ _mesa_texture_buffer_range(struct gl_context *ctx,
struct gl_buffer_object *bufObj,
GLintptr offset, GLsizeiptr size,
const char *caller);
+
+bool
+_mesa_is_cube_map_texture(GLenum target);
+
/*@}*/