Skip to content

Commit

Permalink
fix blue line in smudge tool texture
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jun 6, 2018
1 parent 969e99c commit 9a70700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/game/DecorationTool.h
Expand Up @@ -27,7 +27,7 @@ class DecorationTool: public Tool
//else if (toolID == DECO_DARK)
// vid_buf[WINDOWW*(y+j)+(x+i)] = PIXRGB(PIXR(pc)+10*j, PIXG(pc)+10*j, PIXB(pc)+10*j);
if (toolID == DECO_SMUDGE)
newTexture->SetPixel(x, y, 0, 255-5*x, 255+5*x, 255);
newTexture->SetPixel(x, y, 0, 255-5*x, 5*x, 255);
else if (toolID == DECO_DRAW || toolID == DECO_CLEAR)
newTexture->SetPixel(x, y, Red, Green, Blue, Alpha);
else
Expand Down

0 comments on commit 9a70700

Please sign in to comment.