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
path: root/source
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2022-04-05 23:52:59 +0300
committerFabian Schempp <fabianschempp@googlemail.com>2022-04-11 01:31:58 +0300
commitf4c5c23d43b9d6eb8c7102f35e2706b9051ff792 (patch)
treecf6c99c92c6108b97b4d312a812839e1094bc869 /source
parent5a33ff58f4e96bdce22d657e46ed529bacfc61e8 (diff)
GPencil: Fix buiding with GTEST
Diffstat (limited to 'source')
-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 {