From: eihrul Date: Sat, 22 Jan 2011 23:37:08 +0000 (+0000) Subject: move double break in pseudoalpha case to the right case... X-Git-Tag: xonotic-v0.5.0~438^2~117 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b3e9707a566545d3d8a64536d8c9c8d3dcaf2355;p=xonotic%2Fdarkplaces.git move double break in pseudoalpha case to the right case... git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10724 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/dpsoftrast.c b/dpsoftrast.c index ea78f814..688ee3f9 100644 --- a/dpsoftrast.c +++ b/dpsoftrast.c @@ -1315,6 +1315,7 @@ void DPSOFTRAST_Draw_Span_Finish(const DPSOFTRAST_State_Draw_Span *span, const f pixel[x*4+2] = d[2]; pixel[x*4+3] = d[3]; } + break; case DPSOFTRAST_BLENDMODE_PSEUDOALPHA: for (x = startx;x < endx;x++) { @@ -1332,7 +1333,6 @@ void DPSOFTRAST_Draw_Span_Finish(const DPSOFTRAST_State_Draw_Span *span, const f pixel[x*4+3] = d[3]; } break; - break; } }