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:
authorClément Foucault <foucault.clem@gmail.com>2017-03-28 01:06:14 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-03-28 01:06:14 +0300
commit4d3d10f6251c09006890ebb00f490d4915d47a96 (patch)
tree789abc4b2e37c18dcd2187d41155d1abe2cf9f34
parent21d0f719633d9cf92ca98773ca2931deec3a198b (diff)
New Outline: Fix warning.
-rw-r--r--source/blender/draw/modes/object_mode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c
index 5be50cfa5cd..046fcc0a837 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -428,7 +428,6 @@ static void OBJECT_cache_init(void *vedata)
DRW_shgroup_uniform_buffer(grp, "outlineDepth", &txl->outlines_depth_tx, 1);
DRW_shgroup_uniform_buffer(grp, "sceneDepth", &dtxl->depth, 2);
DRW_shgroup_uniform_float(grp, "alphaOcclu", &alphaOcclu, 1);
- DRW_shgroup_uniform_vec2(grp, "viewportSize", DRW_viewport_size_get(), 1);
DRW_shgroup_call_add(grp, quad, NULL);
psl->outlines_expand = DRW_pass_create("Outlines Expand Pass", state);