summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorTalha <talha@talhaamir.xyz>2024-12-14 11:12:02 +0500
committerTalha <talha@talhaamir.xyz>2024-12-14 11:12:02 +0500
commitcaa94612a906a49aa25fc342430f4fca43731e48 (patch)
tree83f351c51ecef4813a94ba8267ec694d8ca81a5e /main.c
parentc30d924eb6352f76996e6523d04de152dd8f4e2e (diff)
Added sdl_base (updated) to gitHEADmain
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);