Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-04 10:10:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-04 10:11:45 +0300
commit0911acb5cf49c5ba05b1df045b41697704aa288a (patch)
tree9e6a84f0592cbd3b1066339538ae95289cf2eb08 /source/blender/gpu/shaders/gpu_shader_vertex.glsl
parent5b643018348280ee601a20fb9329d5a313c23446 (diff)
parent6654e109df952be3a3128fae2508a02c196ae593 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_vertex.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_vertex.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_vertex.glsl b/source/blender/gpu/shaders/gpu_shader_vertex.glsl
index 2a6c137e195..e297c242044 100644
--- a/source/blender/gpu/shaders/gpu_shader_vertex.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_vertex.glsl
@@ -103,8 +103,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_OPENSUBDIV
outpt.v.position = co;