summaryrefslogtreecommitdiffstats
path: root/shader
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-12-24 12:14:51 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-12-24 12:14:51 +0100
commit577cd77e2be089a1bf2284e33e9b07fc36a4320b (patch)
tree2f15ea093a0d7936b1d07b5393729da0afc224f9 /shader
parent0f6fb2617e5234480994f954125f5c45d6d29e0b (diff)
downloadzoom++-577cd77e2be089a1bf2284e33e9b07fc36a4320b.tar
zoom++-577cd77e2be089a1bf2284e33e9b07fc36a4320b.zip
Some optimizations
Diffstat (limited to 'shader')
-rw-r--r--shader/null.frag3
-rw-r--r--shader/null.vert3
2 files changed, 6 insertions, 0 deletions
diff --git a/shader/null.frag b/shader/null.frag
new file mode 100644
index 0000000..4238b22
--- /dev/null
+++ b/shader/null.frag
@@ -0,0 +1,3 @@
+void main() {
+ gl_FragColor = vec4(0, 0, 0, 1);
+}
diff --git a/shader/null.vert b/shader/null.vert
new file mode 100644
index 0000000..fab2170
--- /dev/null
+++ b/shader/null.vert
@@ -0,0 +1,3 @@
+void main() {
+ gl_Position = ftransform();
+}