projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42f16aa
)
r300: remove unnecessary switch cases
author
Maciej Cencora
<m.cencora@gmail.com>
Wed, 13 May 2009 20:28:39 +0000
(22:28 +0200)
committer
Alex Deucher
<alexdeucher@gmail.com>
Sat, 16 May 2009 15:42:02 +0000
(11:42 -0400)
src/mesa/drivers/dri/r300/r300_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_state.c
b/src/mesa/drivers/dri/r300/r300_state.c
index 873ac4aaec6993e77b437a90468f3b9f11ccec08..c0e3dbe9949cd61d6f3505162338cbe2b66b9e3d 100644
(file)
--- 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;