summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2011-01-13 08:53:33 -0800
committerVinson Lee <[email protected]>2011-01-13 08:53:33 -0800
commitd76f1da7cb4a9c5666e2364f90eb09552e839b55 (patch)
treea75c5262b834810c437ef919390801b529ec010b
parentca31c596e8acf64cbae86b052bb5634790a540ce (diff)
mesa: Add missing break statement in SARGB8 case.
-rw-r--r--src/mesa/main/texrender.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/texrender.c b/src/mesa/main/texrender.c
index 968f9f139c5..8cec24c3e24 100644
--- a/src/mesa/main/texrender.c
+++ b/src/mesa/main/texrender.c
@@ -599,6 +599,7 @@ update_wrapper(struct gl_context *ctx, const struct gl_renderbuffer_attachment *
trb->Fetchf = _mesa_get_texel_fetch_func(MESA_FORMAT_ARGB8888, _mesa_get_texture_dimensions(att->Texture->Target));
trb->Base.DataType = CHAN_TYPE;
trb->Base._BaseFormat = GL_RGBA;
+ break;
default:
trb->Base.DataType = CHAN_TYPE;
trb->Base._BaseFormat = GL_RGBA;