using renderer, shader not working

This commit is contained in:
Rakarake 2025-12-18 01:53:32 +01:00
parent 6565663d56
commit caed914bcd
2 changed files with 112 additions and 1 deletions

View file

@ -158,7 +158,7 @@ void render(Renderer *state, int w, int h, double time, char *shader_path, int r
// Rendorrrr
glViewport(0, 0, w, h);
glClearColor(0.1f, 0.1f, 0.1f, 1.0f); // Dark gray background
glClearColor(0.3f, 0.3f, 0.3f, 1.0f); // Dark gray background
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
// Shader parameters.