Fix alpha dithering in viewports with TransparentBg=false and Usage=2D, issue #11416

This commit is contained in:
andrzej.buczynski 2017-11-17 01:40:00 +01:00
parent b44cb4e3b9
commit 4c0e927ccf

View file

@ -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]) {