mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 00:09:18 +02:00
further pruning of legacy render code, now runs on opengl 3.3 core
profile
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#version 330
|
||||
|
||||
layout (location = 0) in vec3 v_vert;
|
||||
layout (location = 1) in vec3 v_color;
|
||||
in vec3 v_vert;
|
||||
in vec3 v_color;
|
||||
|
||||
out vec3 f_color;
|
||||
|
||||
@@ -12,4 +12,4 @@ void main()
|
||||
{
|
||||
gl_Position = projection * modelview * vec4(v_vert, 1.0f);
|
||||
f_color = v_color;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user