diff options
Diffstat (limited to 'source/blender/gpu/GPU_select.h')
-rw-r--r-- | source/blender/gpu/GPU_select.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_select.h b/source/blender/gpu/GPU_select.h index c15d1b17448..41d580f9b6d 100644 --- a/source/blender/gpu/GPU_select.h +++ b/source/blender/gpu/GPU_select.h @@ -26,6 +26,10 @@ #include "BLI_sys_types.h" +#ifdef __cplusplus +extern "C" { +#endif + struct rcti; /* flags for mode of operation */ @@ -55,4 +59,8 @@ void GPU_select_cache_end(void); const uint *GPU_select_buffer_near(const uint *buffer, int hits); void GPU_select_buffer_stride_realign(const struct rcti *src, const struct rcti *dst, uint *r_buf); +#ifdef __cplusplus +} +#endif + #endif |