Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/render/intern/include/texture.h')
-rw-r--r--source/blender/render/intern/include/texture.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/render/intern/include/texture.h b/source/blender/render/intern/include/texture.h
index f051d3ed318..1c66cb3f04d 100644
--- a/source/blender/render/intern/include/texture.h
+++ b/source/blender/render/intern/include/texture.h
@@ -24,6 +24,10 @@
#ifndef __TEXTURE_H__
#define __TEXTURE_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define BRICONT \
texres->tin = (texres->tin - 0.5f) * tex->contrast + tex->bright - 0.5f; \
if (!(tex->flag & TEX_NO_CLAMP)) { \
@@ -95,4 +99,8 @@ void image_sample(struct Image *ima,
float result[4],
struct ImagePool *pool);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __TEXTURE_H__ */