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:
authorAndrea Weikert <elubie@gmx.net>2017-10-01 16:02:52 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-10-01 16:34:12 +0300
commitba67d9425865fc60836dc003e8bfaff651dc57d9 (patch)
tree015de1a885867361e99a9d4cb75409b9faa9b1f4 /source/blender/draw/modes/object_mode.c
parent3349f25502e76ce456c28b9b8f503da566909259 (diff)
Compile fixes for MSVC:
* missing include for uint typedef * macro syntax error Reviewers: campbellbarton, fclem Reviewed By: fclem Differential Revision: https://developer.blender.org/D2863
Diffstat (limited to 'source/blender/draw/modes/object_mode.c')
-rw-r--r--source/blender/draw/modes/object_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c
index 46153ede354..de09d21234b 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -1483,7 +1483,7 @@ static void DRW_shgroup_lightprobe(OBJECT_StorageList *stl, OBJECT_PassList *psl
DRWShadingGroup *grp = DRW_shgroup_instance_create(e_data.lightprobe_grid_sh, psl->lightprobes, DRW_cache_sphere_get());
/* Dummy call just to save select ID */
- DRW_shgroup_call_dynamic_add(grp);
+ DRW_shgroup_call_dynamic_add_empty(grp);
/* Then overide the instance count */
DRW_shgroup_set_instance_count(grp, prb->grid_resolution_x * prb->grid_resolution_y * prb->grid_resolution_z);
DRW_shgroup_uniform_vec4(grp, "color", color, 1);