Fix alpha dithering in viewports with TransparentBg=false and Usage=2D, issue #11416
This commit is contained in:
parent
b44cb4e3b9
commit
4c0e927ccf
@ -1570,6 +1570,7 @@ void RasterizerCanvasGLES3::reset_canvas() {
|
||||
glDisable(GL_CULL_FACE);
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
glDisable(GL_SCISSOR_TEST);
|
||||
glDisable(GL_DITHER);
|
||||
glEnable(GL_BLEND);
|
||||
glBlendEquation(GL_FUNC_ADD);
|
||||
if (storage->frame.current_rt && storage->frame.current_rt->flags[RasterizerStorage::RENDER_TARGET_TRANSPARENT]) {
|
||||
|
Loading…
Reference in New Issue
Block a user