Created a basic shader object and window object

Using GLAD to load OpenGL/Vulkan extensions
This commit is contained in:
2022-04-22 22:37:38 +02:00
parent dab01f1541
commit 168b936945
10 changed files with 171 additions and 23 deletions

View File

@ -1,7 +1,6 @@
#version 330 core
layout (location = 0) in vec3 aPos;
layout in vec3 aPos;
void main()
{
void main() {
gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
}