DRW: Do not multiply alpha or color by alpha if not in blend more.

This commit is contained in:
Clément Foucault 2018-05-07 15:03:01 +02:00
parent 29c650c3cc
commit 2f76e95b96
1 changed files with 1 additions and 0 deletions

View File

@ -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. */
}
}
}