diff options
Diffstat (limited to 'source/blender/draw/intern/draw_common.h')
-rw-r--r-- | source/blender/draw/intern/draw_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_common.h b/source/blender/draw/intern/draw_common.h index e2dc91f64be..34b930ae9c8 100644 --- a/source/blender/draw/intern/draw_common.h +++ b/source/blender/draw/intern/draw_common.h @@ -9,6 +9,10 @@ #include "draw_common_shader_shared.h" +#ifdef __cplusplus +extern "C" { +#endif + struct DRWShadingGroup; struct FluidModifierData; struct GPUMaterial; @@ -92,3 +96,7 @@ struct DRW_Global { struct GPUUniformBuf *view_ubo; }; extern struct DRW_Global G_draw; + +#ifdef __cplusplus +} +#endif |