summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rwxr-xr-x[-rw-r--r--]main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index e5e0f51..434eee8 100644..100755
--- a/main.c
+++ b/main.c
@@ -1,6 +1,7 @@
#include <math.h>
#include <SDL2/SDL.h>
#include <glad/glad.h>
+#include <stdio.h>
int main(int argc, char *argv[])
{
@@ -49,7 +50,7 @@ int main(int argc, char *argv[])
"#version 330 core\n"
"out vec4 fragColor;"
"void main() {"
- " fragColor = vec4(1.0, 0.0, 0.0, 1.0);"
+ " fragColor = vec4(0.6, 0.5, 0.8, 1.0);"
"}";
GLuint vertexShader = glCreateShader(GL_VERTEX_SHADER);