diff options
Diffstat (limited to 'source/blender/gpu/GPU_batch.h')
-rw-r--r-- | source/blender/gpu/GPU_batch.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_batch.h b/source/blender/gpu/GPU_batch.h index fc7dff5d99b..bc5f0ac1971 100644 --- a/source/blender/gpu/GPU_batch.h +++ b/source/blender/gpu/GPU_batch.h @@ -32,6 +32,10 @@ #include "GPU_shader_interface.h" #include "GPU_shader.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef enum { GPU_BATCH_UNUSED, GPU_BATCH_READY_TO_FORMAT, @@ -241,4 +245,8 @@ void gpu_batch_exit(void); } \ } while (0) +#ifdef __cplusplus +} +#endif + #endif /* __GPU_BATCH_H__ */ |