diff options
author | Alan Hourihane <[email protected]> | 2004-12-02 13:29:40 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2004-12-02 13:29:40 +0000 |
commit | 22ae633d1ea636e0e07ba044a0f8fa2195c83bc6 (patch) | |
tree | 3b3bb53b6b73cffb24b6be0de28b4bd57d08c671 /src/mesa/main/teximage.c | |
parent | ba807fbe2914cf1135297428f7a3163707203073 (diff) |
Fix some warnings
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index f35b236508c..4dff27567e0 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 */ } |