From 43d4ac5db64f3bcb9d9238485734d5a5ade90855 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Mon, 5 Aug 2019 19:02:08 +0200 Subject: Cleanup: Remove unnecessary call & var --- source/blender/draw/intern/draw_common.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/blender/draw/intern/draw_common.c b/source/blender/draw/intern/draw_common.c index 44c9ccd8717..328c7fa903d 100644 --- a/source/blender/draw/intern/draw_common.c +++ b/source/blender/draw/intern/draw_common.c @@ -55,7 +55,6 @@ static struct GPUTexture *DRW_create_weight_colorramp_texture(void); void DRW_globals_update(void) { GlobalsUboStorage *gb = &G_draw.block; - float tmp[4]; DRW_theme_color_get_4fv(TH_WIRE, gb->colorWire); DRW_theme_color_get_4fv(TH_WIRE_EDIT, gb->colorWireEdit); @@ -129,7 +128,6 @@ void DRW_globals_update(void) DRW_theme_color_get_4fv(TH_CFRAME, gb->colorCurrentFrame); /* Grid */ - DRW_theme_color_get_4fv(TH_GRID, tmp); DRW_theme_color_shade_get_4fv(TH_GRID, 10, gb->colorGrid); /* emphasise division lines lighter instead of darker, if background is darker than grid */ DRW_theme_color_shade_get_4fv( -- cgit v1.2.3