Merge pull request #12980 from Rycerzyk/dithering-11416
Fix alpha dithering in viewports with TransparentBg=false and Usage=2D, issue #11416
This commit is contained in:
commit
cb484d75a3
|
@ -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