summaryrefslogtreecommitdiff
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2004-12-02 13:29:40 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2004-12-02 13:29:40 +0000
commit22ae633d1ea636e0e07ba044a0f8fa2195c83bc6 (patch)
tree3b3bb53b6b73cffb24b6be0de28b4bd57d08c671 /src/mesa/main/teximage.c
parentba807fbe2914cf1135297428f7a3163707203073 (diff)
Fix some warnings
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r--src/mesa/main/teximage.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index f35b236508..4dff27567e 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -886,11 +886,9 @@ _mesa_max_texture_levels(GLcontext *ctx, GLenum target)
case GL_TEXTURE_CUBE_MAP_ARB:
case GL_PROXY_TEXTURE_CUBE_MAP_ARB:
return ctx->Const.MaxCubeTextureLevels;
- break;
case GL_TEXTURE_RECTANGLE_NV:
case GL_PROXY_TEXTURE_RECTANGLE_NV:
return 1;
- break;
default:
return 0; /* bad target */
}