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:
authorClément Foucault <foucault.clem@gmail.com>2022-04-05 23:52:59 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-04-05 23:53:10 +0300
commit7455bb85cc7c0deea31c79186be23137005bbe33 (patch)
treebd9d3b2ebef677d5e73274acfc8b0b7f4221b245 /source/blender/draw
parent5f1adfc508cfa117aeead20462f82233d36dca6f (diff)
GPencil: Fix buiding with GTEST
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_shader_shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_shader_shared.h b/source/blender/draw/engines/gpencil/gpencil_shader_shared.h
index 889652c739b..50ff7e7efc7 100644
--- a/source/blender/draw/engines/gpencil/gpencil_shader_shared.h
+++ b/source/blender/draw/engines/gpencil/gpencil_shader_shared.h
@@ -3,10 +3,12 @@
#ifndef GPU_SHADER
# include "GPU_shader_shared_utils.h"
+# ifndef __cplusplus
typedef struct gpMaterial gpMaterial;
typedef struct gpLight gpLight;
typedef enum gpMaterialFlag gpMaterialFlag;
typedef enum gpLightType gpLightType;
+# endif
#endif
enum gpMaterialFlag {