Properly reset blend mode when resetting canvas in compatibility renderer
This commit is contained in:
parent
929ee61170
commit
f6d22df072
1 changed files with 1 additions and 0 deletions
|
@ -2259,6 +2259,7 @@ void RasterizerCanvasGLES3::reset_canvas() {
|
|||
glDisable(GL_DEPTH_TEST);
|
||||
glDisable(GL_SCISSOR_TEST);
|
||||
glEnable(GL_BLEND);
|
||||
glBlendEquation(GL_FUNC_ADD);
|
||||
glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ZERO, GL_ONE);
|
||||
|
||||
glActiveTexture(GL_TEXTURE0 + GLES3::Config::get_singleton()->max_texture_image_units - 2);
|
||||
|
|
Loading…
Reference in a new issue