Permalink
Browse files

fix blue line in smudge tool texture

  • Loading branch information...
jacob1 committed Jun 6, 2018
1 parent 969e99c commit 9a707003aaf2fb126eda4660c3599e13acb10789
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/game/DecorationTool.h
@@ -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

0 comments on commit 9a70700

Please sign in to comment.