diff options
Diffstat (limited to 'source/blender/gpu/GPU_draw.h')
-rw-r--r-- | source/blender/gpu/GPU_draw.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h index 8ed0c6ec13f..e437b4e4f58 100644 --- a/source/blender/gpu/GPU_draw.h +++ b/source/blender/gpu/GPU_draw.h @@ -48,6 +48,8 @@ struct SmokeModifierData; struct DupliObject; struct EvaluationContext; +#include "DNA_object_enums.h" + /* OpenGL drawing functions related to shading. These are also * shared with the game engine, where there were previously * duplicates of some of these functions. */ @@ -77,7 +79,7 @@ void GPU_disable_program_point_size(void); void GPU_begin_object_materials( struct View3D *v3d, struct RegionView3D *rv3d, struct Scene *scene, struct ViewLayer *view_layer, - struct Object *ob, bool glsl, const short object_mode, bool *do_alpha_after); + struct Object *ob, bool glsl, const eObjectMode object_mode, bool *do_alpha_after); void GPU_end_object_materials(void); bool GPU_object_materials_check(void); |