fix blue line in smudge tool texture
This commit is contained in:
parent
969e99c78c
commit
9a707003aa
@ -27,7 +27,7 @@ public:
|
||||
//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
|
||||
|
Reference in New Issue
Block a user