diff options
Diffstat (limited to 'source/blender/draw/modes/shaders/common_world_clip_lib.glsl')
-rw-r--r-- | source/blender/draw/modes/shaders/common_world_clip_lib.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/shaders/common_world_clip_lib.glsl b/source/blender/draw/modes/shaders/common_world_clip_lib.glsl index b889780751e..6964b2a0c39 100644 --- a/source/blender/draw/modes/shaders/common_world_clip_lib.glsl +++ b/source/blender/draw/modes/shaders/common_world_clip_lib.glsl @@ -1,5 +1,5 @@ #ifdef USE_WORLD_CLIP_PLANES -#ifdef GPU_VERTEX_SHADER +#if defined(GPU_VERTEX_SHADER) || defined(GPU_GEOMETRY_SHADER) uniform vec4 WorldClipPlanes[6]; void world_clip_planes_calc_clip_distance(vec3 wpos) { |