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/swrast/s_alphabuf.c | |
parent | ba807fbe2914cf1135297428f7a3163707203073 (diff) |
Fix some warnings
Diffstat (limited to 'src/mesa/swrast/s_alphabuf.c')
-rw-r--r-- | src/mesa/swrast/s_alphabuf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_alphabuf.c b/src/mesa/swrast/s_alphabuf.c index 736ff2d7394..5d8107c2d6b 100644 --- a/src/mesa/swrast/s_alphabuf.c +++ b/src/mesa/swrast/s_alphabuf.c @@ -178,16 +178,12 @@ GLchan *get_alpha_buffer( GLcontext *ctx ) switch (swrast->CurrentBufferBit) { case DD_FRONT_LEFT_BIT: return ctx->DrawBuffer->FrontLeftAlpha; - break; case DD_BACK_LEFT_BIT: return ctx->DrawBuffer->BackLeftAlpha; - break; case DD_FRONT_RIGHT_BIT: return ctx->DrawBuffer->FrontRightAlpha; - break; case DD_BACK_RIGHT_BIT: return ctx->DrawBuffer->BackRightAlpha; - break; default: _mesa_problem(ctx, "Bad CurrentBuffer in get_alpha_buffer()"); return (GLchan *) ctx->DrawBuffer->FrontLeftAlpha; |