progs/glsl: Fix bump GLSL compilation error on Mac OS.
authorVinson Lee <vlee@vmware.com>
Thu, 28 Jan 2010 22:58:24 +0000 (14:58 -0800)
committerVinson Lee <vlee@vmware.com>
Thu, 28 Jan 2010 22:58:24 +0000 (14:58 -0800)
progs/glsl/CH11-bumpmaptex.frag

index b1f93b784d9cd4f79a352a076004b36e13fbc852..b5dabb4c8a8a58a1313a7b98d632b2cec9a6dfb4 100644 (file)
@@ -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()
 {