From 78ecefcfafb55bdb14eb2e4fb795e3ea005c8149 Mon Sep 17 00:00:00 2001
From: marco <marco@5a81b35b-ba03-0410-adc8-b2c5c5119f08>
Date: Tue, 25 May 2010 13:13:18 +0000
Subject: [PATCH] fix shader for NVIDIA cards on mac

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/branches/new_gfx@2276 5a81b35b-ba03-0410-adc8-b2c5c5119f08
---
 modules/gfx/src/shader/fraglight_vs.glsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gfx/src/shader/fraglight_vs.glsl b/modules/gfx/src/shader/fraglight_vs.glsl
index 3eb7006e7..9b1856d12 100644
--- a/modules/gfx/src/shader/fraglight_vs.glsl
+++ b/modules/gfx/src/shader/fraglight_vs.glsl
@@ -21,7 +21,7 @@ void main()
     // ambient occlusion and color terms
     ambient_color = gl_MultiTexCoord0;
   } else {
-    ambient_color.rgb = gl_Color;
+    ambient_color.rgb = gl_Color.rgb;
     ambient_color.a = 1.0;
   }
   gl_FrontColor=gl_Color;
-- 
GitLab