DRW: Do not multiply alpha or color by alpha if not in blend more.
This commit is contained in:
parent
29c650c3cc
commit
2f76e95b96
|
@ -229,6 +229,7 @@ void drw_state_set(DRWState state)
|
|||
}
|
||||
else {
|
||||
glDisable(GL_BLEND);
|
||||
glBlendFunc(GL_ONE, GL_ONE); /* Don't multiply incoming color by alpha. */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue