diff options
author | andrzej.buczynski <andrzej.buczynski@spectrecode.com> | 2017-11-17 01:40:00 +0100 |
---|---|---|
committer | andrzej.buczynski <andrzej.buczynski@spectrecode.com> | 2017-11-17 01:40:00 +0100 |
commit | 4c0e927ccf89ed5bbdce280ec42ae985bf8fdd7e (patch) | |
tree | e5971cdd59ace7a0910ed8f314206de7dcb0bb8f | |
parent | b44cb4e3b9b573a3cbbd6f71aff81e6c3465d84b (diff) |
Fix alpha dithering in viewports with TransparentBg=false and Usage=2D, issue #11416
-rw-r--r-- | drivers/gles3/rasterizer_canvas_gles3.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles3/rasterizer_canvas_gles3.cpp b/drivers/gles3/rasterizer_canvas_gles3.cpp index 5d62d2f5a0..42a253bc2d 100644 --- a/drivers/gles3/rasterizer_canvas_gles3.cpp +++ b/drivers/gles3/rasterizer_canvas_gles3.cpp @@ -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]) { |