diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-04-05 23:52:59 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-04-05 23:53:10 +0300 |
commit | 7455bb85cc7c0deea31c79186be23137005bbe33 (patch) | |
tree | bd9d3b2ebef677d5e73274acfc8b0b7f4221b245 /source | |
parent | 5f1adfc508cfa117aeead20462f82233d36dca6f (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 { |