diff options
author | Talha <talha@talhaamir.xyz> | 2024-12-14 11:12:02 +0500 |
---|---|---|
committer | Talha <talha@talhaamir.xyz> | 2024-12-14 11:12:02 +0500 |
commit | caa94612a906a49aa25fc342430f4fca43731e48 (patch) | |
tree | 83f351c51ecef4813a94ba8267ec694d8ca81a5e /main.c | |
parent | c30d924eb6352f76996e6523d04de152dd8f4e2e (diff) |
Diffstat (limited to 'main.c')
-rwxr-xr-x[-rw-r--r--] | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |