diff options
Diffstat (limited to 'source/blender/gpu/GPU_attr_binding.h')
-rw-r--r-- | source/blender/gpu/GPU_attr_binding.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_attr_binding.h b/source/blender/gpu/GPU_attr_binding.h index 2fa892bf805..8093e02cab6 100644 --- a/source/blender/gpu/GPU_attr_binding.h +++ b/source/blender/gpu/GPU_attr_binding.h @@ -28,6 +28,10 @@ #include "GPU_common.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef struct GPUAttrBinding { /** Store 4 bits for each of the 16 attributes. */ uint64_t loc_bits; @@ -35,4 +39,8 @@ typedef struct GPUAttrBinding { uint16_t enabled_bits; } GPUAttrBinding; +#ifdef __cplusplus +} +#endif + #endif /* __GPU_ATTR_BINDING_H__ */ |