From: Maciej Cencora Date: Wed, 13 May 2009 20:28:39 +0000 (+0200) Subject: r300: remove unnecessary switch cases X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6da805c4e6f060a4a531aba89d4a7db885767f4;p=mesa.git r300: remove unnecessary switch cases --- diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index 873ac4aaec6..c0e3dbe9949 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -1917,14 +1917,6 @@ static void r300Enable(GLcontext * ctx, GLenum cap, GLboolean state) state ? "GL_TRUE" : "GL_FALSE"); switch (cap) { - case GL_TEXTURE_1D: - case GL_TEXTURE_2D: - case GL_TEXTURE_3D: - /* empty */ - break; - case GL_FOG: - /* empty */ - break; case GL_ALPHA_TEST: r300SetAlphaState(ctx); break;