]> git.sesse.net Git - movit/blobdiff - header.130.frag
Use UBOs instead of glUniform. Work in progress; no clear wins seen yet.
[movit] / header.130.frag
index 129f493601ed7676a7a485c764b0883050453556..10c8014e0f12c68868fa7b88ccb92454b95a3aa0 100644 (file)
@@ -1,5 +1,9 @@
 #version 130
 
+// TODO: Make dependent on whether we actually use the feature,
+// and also put in all the headers.
+#extension GL_ARB_uniform_buffer_object : enable
+
 in vec2 tc;
 
 vec4 tex2D(sampler2D s, vec2 coord)