diff options
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_3D_passthrough_vert.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_3D_passthrough_vert.glsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_3D_passthrough_vert.glsl b/source/blender/gpu/shaders/gpu_shader_3D_passthrough_vert.glsl index 4196dbbad02..12594b04da9 100644 --- a/source/blender/gpu/shaders/gpu_shader_3D_passthrough_vert.glsl +++ b/source/blender/gpu/shaders/gpu_shader_3D_passthrough_vert.glsl @@ -7,10 +7,10 @@ in vec3 pos; void main() { - vec4 pos_4d = vec4(pos, 1.0); - gl_Position = pos_4d; + vec4 pos_4d = vec4(pos, 1.0); + gl_Position = pos_4d; #ifdef USE_WORLD_CLIP_PLANES - world_clip_planes_calc_clip_distance((ModelMatrix * pos_4d).xyz); + world_clip_planes_calc_clip_distance((ModelMatrix * pos_4d).xyz); #endif } |