diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-07-25 19:10:43 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-07-26 18:28:48 +0300 |
commit | a77175c9b6c06dadc1df3c654e0e000140a53a39 (patch) | |
tree | 121a661d9378d8ea8c43723898036173650aea5e /source/blender/gpu/intern/gpu_primitive_private.h | |
parent | 076d033e10eee29bfc8315344bd2ba1f0951ad06 (diff) |
GPU: Add extern "C" to intern headers
Diffstat (limited to 'source/blender/gpu/intern/gpu_primitive_private.h')
-rw-r--r-- | source/blender/gpu/intern/gpu_primitive_private.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_primitive_private.h b/source/blender/gpu/intern/gpu_primitive_private.h index abefa6abd20..b7d7b262128 100644 --- a/source/blender/gpu/intern/gpu_primitive_private.h +++ b/source/blender/gpu/intern/gpu_primitive_private.h @@ -26,6 +26,15 @@ #ifndef __GPU_PRIMITIVE_PRIVATE_H__ #define __GPU_PRIMITIVE_PRIVATE_H__ +#ifdef __cplusplus +extern "C" { +#endif + +/* TODO(fclem) move to OGL backend */ GLenum convert_prim_type_to_gl(GPUPrimType); +#ifdef __cplusplus +} +#endif + #endif /* __GPU_PRIMITIVE_PRIVATE_H__ */ |