Cleanup: Remove unnecessary uniform
authorClément Foucault <foucault.clem@gmail.com>
Wed, 5 Sep 2018 15:02:23 +0000 (17:02 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Wed, 5 Sep 2018 17:00:13 +0000 (19:00 +0200)
source/blender/draw/modes/overlay_mode.c

index 94b5309a7240053b890dac02cf2a9e96d235571e..04d1b2f1648a9d644d485cc28139a0d66c261d35 100644 (file)
@@ -267,7 +267,6 @@ static void overlay_cache_populate(void *vedata, Object *ob)
 
                                                sh = e_data.select_wireframe_sh;
                                                DRWShadingGroup *shgrp = DRW_shgroup_create(sh, pass);
-                                               DRW_shgroup_uniform_vec2(shgrp, "viewportSize", DRW_viewport_size_get(), 1);
                                                DRW_shgroup_uniform_vec2(shgrp, "wireStepParam", (all_wires)
                                                                                                 ? params
                                                                                                 : stl->g_data->wire_step_param, 1);