]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
move double break in pseudoalpha case to the right case...
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 22 Jan 2011 23:37:08 +0000 (23:37 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 22 Jan 2011 23:37:08 +0000 (23:37 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10724 d7cf8633-e32d-0410-b094-e92efae38249

dpsoftrast.c

index ea78f814b6c92c23d1500af4b611293413c75b1e..688ee3f93f2983ee8596a1d51893959f3f99cb88 100644 (file)
@@ -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;
        }
 }