Mesa (mesa_7_7_branch): progs/vpglsl: Fix psiz-mul. glsl compilation error on Mac OS.

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Thu Dec 3 11:20:00 PST 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: 235c0c81346c44e24909b6e48394ea62b136a36b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=235c0c81346c44e24909b6e48394ea62b136a36b

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Nov 19 23:56:07 2009 -0800

progs/vpglsl: Fix psiz-mul.glsl compilation error on Mac OS.
(cherry picked from commit b98db7bf697c3ed6e6df303e9dd66f7ac31eb3e2)

---

 progs/vpglsl/psiz-mul.glsl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/progs/vpglsl/psiz-mul.glsl b/progs/vpglsl/psiz-mul.glsl
index 77f4a46..d2a90d8 100644
--- a/progs/vpglsl/psiz-mul.glsl
+++ b/progs/vpglsl/psiz-mul.glsl
@@ -1,6 +1,6 @@
 
 void main() {
     gl_FrontColor = gl_Color;
-    gl_PointSize = 10 * gl_Color.x;
+    gl_PointSize = 10.0 * gl_Color.x;
     gl_Position = gl_Vertex;
 }



More information about the mesa-commit mailing list