diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/texformat.c | 14 | ||||
-rw-r--r-- | src/mesa/main/texformat.h | 3 |
2 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c index fd9f335a767..419fd78e893 100644 --- a/src/mesa/main/texformat.c +++ b/src/mesa/main/texformat.c @@ -782,17 +782,3 @@ _mesa_choose_tex_format(struct gl_context *ctx, GLenum target, _mesa_enum_to_string(internalFormat)); return MESA_FORMAT_NONE; } - -GLboolean -_mesa_tex_target_is_array(GLenum target) -{ - switch (target) { - case GL_TEXTURE_1D_ARRAY_EXT: - case GL_TEXTURE_2D_ARRAY_EXT: - case GL_TEXTURE_2D_MULTISAMPLE_ARRAY: - case GL_TEXTURE_CUBE_MAP_ARRAY: - return GL_TRUE; - default: - return GL_FALSE; - } -} diff --git a/src/mesa/main/texformat.h b/src/mesa/main/texformat.h index 32e209997ac..ed965f84f1d 100644 --- a/src/mesa/main/texformat.h +++ b/src/mesa/main/texformat.h @@ -35,7 +35,4 @@ extern mesa_format _mesa_choose_tex_format(struct gl_context *ctx, GLenum target, GLint internalFormat, GLenum format, GLenum type); -extern GLboolean -_mesa_tex_target_is_array(GLenum target); - #endif |