Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2019-08-05 20:02:08 +0300
committerJulian Eisel <eiseljulian@gmail.com>2019-08-05 20:02:08 +0300
commit43d4ac5db64f3bcb9d9238485734d5a5ade90855 (patch)
treec217e3745c6f2c7ad7e6737d4cd87ddacfd90f85
parent834b0b8262fc84dce3b8fc16f3cc72529b178893 (diff)
Cleanup: Remove unnecessary call & var
-rw-r--r--source/blender/draw/intern/draw_common.c2
1 files changed, 0 insertions, 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(