summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-19 23:56:07 -0800
committerVinson Lee <vlee@vmware.com>2009-11-19 23:56:07 -0800
commitb98db7bf697c3ed6e6df303e9dd66f7ac31eb3e2 (patch)
treeae6ab2fd7ca816053b158f1c41feb92c2171a83c
parent760cf71572a071ce43da576ebfeff4a8099150bc (diff)
progs/vpglsl: Fix psiz-mul.glsl compilation error on Mac OS.
-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;
}