From caa94612a906a49aa25fc342430f4fca43731e48 Mon Sep 17 00:00:00 2001 From: Talha Date: Sat, 14 Dec 2024 11:12:02 +0500 Subject: Added sdl_base (updated) to git --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 main.c (limited to 'main.c') diff --git a/main.c b/main.c old mode 100644 new mode 100755 index e5e0f51..434eee8 --- a/main.c +++ b/main.c @@ -1,6 +1,7 @@ #include #include #include +#include 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); -- cgit v1.2.3