From b3e9707a566545d3d8a64536d8c9c8d3dcaf2355 Mon Sep 17 00:00:00 2001 From: eihrul Date: Sat, 22 Jan 2011 23:37:08 +0000 Subject: [PATCH] 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 --- dpsoftrast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.39.2