summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-01-18 15:23:45 -0700
committerBrian <brian@yutani.localnet.net>2007-01-18 15:23:45 -0700
commite4e66476a90cca291b562dd48ef55258e1c690f4 (patch)
tree9a4b09eaa272a11f47bc30a639ab7ca40b2e7540 /progs
parentf43eac3ed8772c13df448c4ce5b566458ab0154b (diff)
downloadexternal_mesa3d-e4e66476a90cca291b562dd48ef55258e1c690f4.zip
external_mesa3d-e4e66476a90cca291b562dd48ef55258e1c690f4.tar.gz
external_mesa3d-e4e66476a90cca291b562dd48ef55258e1c690f4.tar.bz2
remove debug code
Diffstat (limited to 'progs')
-rw-r--r--progs/glsl/CH11-toyball.frag.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/progs/glsl/CH11-toyball.frag.txt b/progs/glsl/CH11-toyball.frag.txt
index cf9129e..90ec1c2 100644
--- a/progs/glsl/CH11-toyball.frag.txt
+++ b/progs/glsl/CH11-toyball.frag.txt
@@ -45,7 +45,6 @@ void main()
distance[2] = dot(p, HalfSpace2);
distance[3] = dot(p, HalfSpace3);
-#if 1
distance = smoothstep(-FWidth, FWidth, distance);
inorout += dot(distance, vec4(1.0));
@@ -73,7 +72,4 @@ void main()
surfColor += SpecularColor * intensity;
gl_FragColor = surfColor;
-#else
- gl_FragColor = distance;
-#endif
}