pulled out the draw call. forgot to allocate buffers

This commit is contained in:
2019-08-11 21:03:28 -07:00
parent 0be20eb959
commit e351e36c92
6 changed files with 100 additions and 48 deletions

View File

@@ -3,6 +3,16 @@ layout(location = 0) in vec4 out_color;
layout(location = 0) out vec4 f_color;
void main() {
f_color = out_color;
}
}

View File

@@ -5,6 +5,12 @@ layout(location = 1) in vec4 color;
layout(location = 0) out vec4 out_color;
void main() {
out_color = color;
// out_color = color;
gl_Position = vec4(position, 0.0, 1.0);
}