diff options
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); |