Mesa (master): progs/glsl: Fix bump GLSL compilation error on Mac OS.

Vinson Lee vlee at kemper.freedesktop.org
Thu Jan 28 22:59:00 UTC 2010


Module: Mesa
Branch: master
Commit: bbb41153c23600f8ec25405add2341f770346911
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbb41153c23600f8ec25405add2341f770346911

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Jan 28 14:58:24 2010 -0800

progs/glsl: Fix bump GLSL compilation error on Mac OS.

---

 progs/glsl/CH11-bumpmaptex.frag |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/progs/glsl/CH11-bumpmaptex.frag b/progs/glsl/CH11-bumpmaptex.frag
index b1f93b7..b5dabb4 100644
--- a/progs/glsl/CH11-bumpmaptex.frag
+++ b/progs/glsl/CH11-bumpmaptex.frag
@@ -17,7 +17,7 @@ uniform float BumpDensity;     // = 16.0
 uniform float BumpSize;        // = 0.15
 uniform float SpecularFactor;  // = 0.5
 
-sampler2D Tex;
+uniform sampler2D Tex;
 
 void main()
 {




More information about the mesa-commit mailing list