Change vertex buffer handling
Previously vertex data was only in shaders. I have removed it from there and put hardcoded vertex data into cpp source code.
This commit is contained in:
1 parent
e7b9d4a32f
commit
34665e1c2e
5 files changed
+177
-29
No files matched your search
@@ -1,7 +1,6 @@
|
||||
#version 450
|
||||
|
||||
layout(location = 0) in vec3 fragColor;
|
||||
|
||||
layout(location = 0) out vec4 outColor;
|
||||
|
||||
void main() {
|
||||
|
||||
Reference in new issue
Block a user