diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-06 15:27:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-06 15:27:49 +0300 |
commit | 885d78150d092756c44519dd9fd19a4d88f02354 (patch) | |
tree | dab1c9b3ce11ee0e1611cde175d2f50ca4c0ef97 /source/blender/gpu/GPU_draw.h | |
parent | 5376c739f5bf4029e0a32946e9945a732feba217 (diff) |
Use eObjectMode for function arguments
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); |