windows build with msvc2022
[andemo] / sdr / foo.v.glsl
index b2911c5..1e8d9b6 100644 (file)
@@ -1,10 +1,12 @@
-attribute vec4 apos;
-attribute vec2 atex;
+attribute vec4 attr_vertex, attr_color;
+attribute vec2 attr_texcoord;
 
+varying vec4 color;
 varying vec2 texcoord;
 
 void main()
 {
-       gl_Position = apos;
-       texcoord = atex;
+       gl_Position = attr_vertex;
+       texcoord = attr_texcoord;
+       color = attr_color;
 }