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
This commit is contained in:
committed by
Clément Foucault
parent
3349f25502
commit
ba67d94258
@@ -30,6 +30,7 @@ extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "BLI_sys_types.h"
|
||||
#include "BLI_compiler_attrs.h"
|
||||
#include "BLI_compiler_compat.h"
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user