summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 260d215..cf6bd26 100644
--- a/src/main.c
+++ b/src/main.c
@@ -331,6 +331,7 @@ static bool Render(State* state) {
331 }; 331 };
332 sgTrianglesIndexed(state->gfx, 3, indices, positions, texcoords);*/ 332 sgTrianglesIndexed(state->gfx, 3, indices, positions, texcoords);*/
333 sgLighting(state->gfx); 333 sgLighting(state->gfx);
334 sgAmbient(state->gfx, (sgVec3){1,1,1});
334 sgGammaInv(state->gfx, sgColourBuffer(state->gfx), BufferWidth, BufferHeight); 335 sgGammaInv(state->gfx, sgColourBuffer(state->gfx), BufferWidth, BufferHeight);
335 sgPresent(state->gfx, WindowDims, window_surface->pixels); 336 sgPresent(state->gfx, WindowDims, window_surface->pixels);
336 337