summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texformat.c
diff options
context:
space:
mode:
authorAlejandro Piñeiro <apinheiro@igalia.com>2015-12-05 20:47:33 +0100
committerAlejandro Piñeiro <apinheiro@igalia.com>2015-12-07 20:31:20 +0100
commit3d260cc653966298bb217d028797a2c4ecb33c52 (patch)
treee4050db012828edc44f561717b2a56d75b7e0c5e /src/mesa/main/texformat.c
parentb16e0ff34e7824bb7f44e7afb78334fcfb0f7264 (diff)
downloadexternal_mesa3d-3d260cc653966298bb217d028797a2c4ecb33c52.zip
external_mesa3d-3d260cc653966298bb217d028797a2c4ecb33c52.tar.gz
external_mesa3d-3d260cc653966298bb217d028797a2c4ecb33c52.tar.bz2
mesa: remove _mesa_tex_target_is_array
_mesa_is_array_texture provides the same functionality and: 1. it returns bool instead of GLboolean 2. it's not related to the texture format (texformat.c) 3. the name's a little shorter v2: remove _mesa_tex_target_is_array instead (Brian Paul) Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/texformat.c')
-rw-r--r--src/mesa/main/texformat.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c
index fd9f335..419fd78 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;
- }
-}