From 00180ef264b051e61f06c67402e356855fc7bd6d Mon Sep 17 00:00:00 2001 From: dragmz Date: Sun, 22 Jul 2018 15:42:43 +0200 Subject: remove redundant uniform set call --- drivers/gles2/rasterizer_canvas_gles2.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/gles2') diff --git a/drivers/gles2/rasterizer_canvas_gles2.cpp b/drivers/gles2/rasterizer_canvas_gles2.cpp index daa421d45c..ea52153285 100644 --- a/drivers/gles2/rasterizer_canvas_gles2.cpp +++ b/drivers/gles2/rasterizer_canvas_gles2.cpp @@ -409,8 +409,6 @@ void RasterizerCanvasGLES2::_canvas_item_render_commands(Item *p_item, Item *cur Rect2 dst_rect = Rect2(r->rect.position, r->rect.size); - state.canvas_shader.set_uniform(CanvasShaderGLES2::COLOR_TEXPIXEL_SIZE, texpixel_size); - if (dst_rect.size.width < 0) { dst_rect.position.x += dst_rect.size.width; dst_rect.size.width *= -1; -- cgit v1.2.3