Commit: 982c41b549a15db80a37699df506bf67c881fd0f
Author: Julian Eisel
Date:   Mon Mar 6 02:23:38 2017 +0100
Branches: HMD_viewport
https://developer.blender.org/rB982c41b549a15db80a37699df506bf67c881fd0f

Fix fragment shader compile error on Intel GPUs

===================================================================

M       source/blender/gpu/shaders/gpu_shader_fx_lensdistortion_frag.glsl

===================================================================

diff --git a/source/blender/gpu/shaders/gpu_shader_fx_lensdistortion_frag.glsl 
b/source/blender/gpu/shaders/gpu_shader_fx_lensdistortion_frag.glsl
index 00e3191794..d8d61cdd80 100644
--- a/source/blender/gpu/shaders/gpu_shader_fx_lensdistortion_frag.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_fx_lensdistortion_frag.glsl
@@ -41,4 +41,4 @@ void main()
     float blue = texture2D(warpTexture, tc_b).b;
     //Black edges off the texture
     gl_FragColor = ((tc_g.x < 0.0) || (tc_g.x > 1.0) || (tc_g.y < 0.0) || 
(tc_g.y > 1.0)) ? vec4(0.0, 0.0, 0.0, 1.0) : vec4(red, green, blue, 1.0);
-};
\ No newline at end of file
+}

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to