using renderer, shader not working
This commit is contained in:
parent
6565663d56
commit
caed914bcd
2 changed files with 112 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue