summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-19 23:56:07 -0800
committerVinson Lee <vlee@vmware.com>2009-12-02 20:28:54 -0800
commit235c0c81346c44e24909b6e48394ea62b136a36b (patch)
tree89e333c3121b111e66503556ca236d1f952bbc29 /progs
parent0a107d36c2f290cd42e29008dec5194df55b7690 (diff)
progs/vpglsl: Fix psiz-mul.glsl compilation error on Mac OS.
(cherry picked from commit b98db7bf697c3ed6e6df303e9dd66f7ac31eb3e2)
Diffstat (limited to 'progs')
-rw-r--r--progs/vpglsl/psiz-mul.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/vpglsl/psiz-mul.glsl b/progs/vpglsl/psiz-mul.glsl
index 77f4a46b52..d2a90d8578 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;
}