Source

gltut / Tut 06 Objects in Motion / data / PosColorLocalTransform.vert

Diff from to

Tut 06 Objects in Motion/data/PosColorLocalTransform.vert

-#version 150
+#version 330
 
-in vec4 position;
-in vec4 color;
+layout(location = 0) in vec4 position;
+layout(location = 1) in vec4 color;
 
 smooth out vec4 theColor;