diff options
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_basic_vert.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_basic_vert.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_basic_vert.glsl b/source/blender/gpu/shaders/gpu_shader_basic_vert.glsl index dbf6c267f14..bc940222f85 100644 --- a/source/blender/gpu/shaders/gpu_shader_basic_vert.glsl +++ b/source/blender/gpu/shaders/gpu_shader_basic_vert.glsl @@ -58,8 +58,8 @@ void main() #elif !defined(GPU_ATI) // Setting gl_ClipVertex is necessary to get glClipPlane working on NVIDIA // graphic cards, while on ATI it can cause a software fallback. - gl_ClipVertex = co; -#endif + gl_ClipVertex = co; +#endif #ifdef USE_COLOR #ifdef DRAW_LINE |