forked from bartvdbraak/blender
DRW: Fix incorrect blending function reset.
This commit is contained in:
parent
3800be695b
commit
3c79043f1b
@ -364,10 +364,10 @@ void DRW_state_lock(DRWState state)
|
||||
|
||||
void DRW_state_reset(void)
|
||||
{
|
||||
DRW_state_reset_ex(DRW_STATE_DEFAULT);
|
||||
|
||||
/* Reset blending function */
|
||||
glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
DRW_state_reset_ex(DRW_STATE_DEFAULT);
|
||||
}
|
||||
|
||||
/* NOTE : Make sure to reset after use! */
|
||||
|
Loading…
Reference in New Issue
Block a user