diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-04-05 23:52:59 +0300 |
---|---|---|
committer | Fabian Schempp <fabianschempp@googlemail.com> | 2022-04-11 01:31:58 +0300 |
commit | f4c5c23d43b9d6eb8c7102f35e2706b9051ff792 (patch) | |
tree | cf6c99c92c6108b97b4d312a812839e1094bc869 /source | |
parent | 5a33ff58f4e96bdce22d657e46ed529bacfc61e8 (diff) |
GPencil: Fix buiding with GTEST
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_shader_shared.h | 2 |
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 { |