From 4b70b9bce466bc68ea083ae468106b44c8a93fae Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Thu, 12 Feb 2026 18:24:36 -0800 Subject: Deferred pipeline --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 1fd39e0..6b40c84 100644 --- a/src/main.c +++ b/src/main.c @@ -309,7 +309,6 @@ static bool Render(State* state) { sgClear(state->gfx); sgViewport(state->gfx, 0, 0, BufferWidth, BufferHeight); - sgCheck(state->gfx); // TODO: For easier debugging, overlay the checkerboard on top of the // other rendered items with alpha blending. //Checkerboard(state->gfx, BufferWidth, BufferHeight); @@ -330,6 +329,7 @@ static bool Render(State* state) { (sgVec2){1.0, 1.0}, }; sgTrianglesIndexed(state->gfx, 3, indices, positions, texcoords);*/ + sgLighting(state->gfx); sgGammaInv(state->gfx, sgColourBuffer(state->gfx), BufferWidth, BufferHeight); sgPresent(state->gfx, WindowDims, window_surface->pixels); -- cgit v1.2.3