summaryrefslogtreecommitdiffstats
path: root/progs/vpglsl/psiz-imm.glsl
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-05-14 15:57:27 +0100
committerJosé Fonseca <[email protected]>2009-06-01 18:40:21 -0700
commit97f5953ced6938ca8e92cde62e8717ff505cc4e2 (patch)
tree4079ed448cb05a14e4d2df4b4a14ed90576f27fa /progs/vpglsl/psiz-imm.glsl
parentf989390af6f827d1ea36560381340148811836f3 (diff)
progs/vpglsl: add similar support for point rendering as progs/vp
Diffstat (limited to 'progs/vpglsl/psiz-imm.glsl')
-rw-r--r--progs/vpglsl/psiz-imm.glsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/vpglsl/psiz-imm.glsl b/progs/vpglsl/psiz-imm.glsl
new file mode 100644
index 00000000000..101d314d584
--- /dev/null
+++ b/progs/vpglsl/psiz-imm.glsl
@@ -0,0 +1,6 @@
+
+void main() {
+ gl_FrontColor = gl_Color;
+ gl_PointSize = 2.0;
+ gl_Position = gl_Vertex;
+}