Fix T54806: Editors drawing glitch when using lasso selection
We should always reset to default glBlendFunc after done drawing.
This commit is contained in:
parent
fe149da993
commit
0357493033
@ -323,6 +323,7 @@ static void draw_filled_lasso(wmGesture *gt)
|
|||||||
MEM_freeN(pixel_buf);
|
MEM_freeN(pixel_buf);
|
||||||
|
|
||||||
glDisable(GL_BLEND);
|
glDisable(GL_BLEND);
|
||||||
|
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
}
|
}
|
||||||
|
|
||||||
MEM_freeN(moves);
|
MEM_freeN(moves);
|
||||||
|
Loading…
Reference in New Issue
Block a user