diff options
Diffstat (limited to 'src/mesa/main/debug.c')
-rw-r--r-- | src/mesa/main/debug.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c index 8c3f7830861..9434c1ea2dd 100644 --- a/src/mesa/main/debug.c +++ b/src/mesa/main/debug.c @@ -51,9 +51,14 @@ tex_target_name(GLenum tgt) { GL_TEXTURE_RECTANGLE, "GL_TEXTURE_RECTANGLE" }, { GL_TEXTURE_1D_ARRAY_EXT, "GL_TEXTURE_1D_ARRAY" }, { GL_TEXTURE_2D_ARRAY_EXT, "GL_TEXTURE_2D_ARRAY" }, + { GL_TEXTURE_CUBE_MAP_ARRAY, "GL_TEXTURE_CUBE_MAP_ARRAY" }, + { GL_TEXTURE_BUFFER, "GL_TEXTURE_BUFFER" }, + { GL_TEXTURE_2D_MULTISAMPLE, "GL_TEXTURE_2D_MULTISAMPLE" }, + { GL_TEXTURE_2D_MULTISAMPLE_ARRAY, "GL_TEXTURE_2D_MULTISAMPLE_ARRAY" }, { GL_TEXTURE_EXTERNAL_OES, "GL_TEXTURE_EXTERNAL_OES" } }; GLuint i; + STATIC_ASSERT(Elements(tex_targets) == NUM_TEXTURE_TARGETS); for (i = 0; i < Elements(tex_targets); i++) { if (tex_targets[i].target == tgt) return tex_targets[i].name; |