From 8fd6a02d3e18ee9001ba4e397bd65b789781891e Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 12 Feb 2019 09:54:53 -0300 Subject: [PATCH] Missing canvas end left mask turned on, fixes #25666 --- drivers/gles2/rasterizer_canvas_gles2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gles2/rasterizer_canvas_gles2.cpp b/drivers/gles2/rasterizer_canvas_gles2.cpp index 64e4dbdab42..49b84895a7e 100644 --- a/drivers/gles2/rasterizer_canvas_gles2.cpp +++ b/drivers/gles2/rasterizer_canvas_gles2.cpp @@ -1878,6 +1878,8 @@ void RasterizerCanvasGLES2::draw_window_margins(int *black_margin, RID *black_im draw_generic_textured_rect(Rect2(0, window_h - black_margin[MARGIN_BOTTOM], window_w, black_margin[MARGIN_BOTTOM]), Rect2(0, 0, 1, 1)); } + + canvas_end(); } void RasterizerCanvasGLES2::initialize() {