aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-05-13 22:28:39 +0200
committerAlex Deucher <[email protected]>2009-05-16 11:42:02 -0400
commitd6da805c4e6f060a4a531aba89d4a7db885767f4 (patch)
tree76f9fe94c5fe6cba0d0820f605741fee6493cb6d /src
parent42f16aa4e0d9f1c5f016919ed04c55430507234e (diff)
r300: remove unnecessary switch cases
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c8
1 files changed, 0 insertions, 8 deletions
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;