summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.h
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2014-12-31 16:31:50 -0800
committerLaura Ekstrand <[email protected]>2015-01-08 11:37:30 -0800
commitb66dd38a37807c28203aa5c6c2707c1dc6dccedf (patch)
tree3a373612189dc10b12570a7ff77b526ab3f5a68d /src/mesa/main/texobj.h
parent2546d901be3b47d8731ccfed5feb55afdab94763 (diff)
main: Added _mesa_cube_level_complete to check for the completeness of an arbitrary cube map level.
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.h')
-rw-r--r--src/mesa/main/texobj.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.h b/src/mesa/main/texobj.h
index 0a49fe2a4e2..ec5ccb27601 100644
--- a/src/mesa/main/texobj.h
+++ b/src/mesa/main/texobj.h
@@ -178,6 +178,10 @@ _mesa_test_texobj_completeness( const struct gl_context *ctx,
struct gl_texture_object *obj );
extern GLboolean
+_mesa_cube_level_complete(const struct gl_texture_object *texObj,
+ const GLint level);
+
+extern GLboolean
_mesa_cube_complete(const struct gl_texture_object *texObj);
extern void