a-game

2D platformer written from scratch.
git clone git://git.amin.space/a-game.git
Log | Files | Refs | README | LICENSE

commit fcf3f977dc68f406ef820e81f98650b83d282822
parent b8ff9f0cef92ef99572510fc468841adffdb1a48
Author: amin <dev@aminmesbah.com>
Date:   Sun,  3 Nov 2019 04:32:21 +0000

Make letterboxes black

FossilOrigin-Name: 061abc2ab882f28761bd25ca85ebf4970b3117fa0f4fbe7a2ac3956976bf2c91
Diffstat:
Msrc/render.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/render.c b/src/render.c @@ -132,7 +132,7 @@ internal void renderer_init(struct RendererState *renderer, struct Image *images internal void renderer_jobs_draw(struct RendererState *renderer) { - glClearColor(0.1f, 0.1f, 0.1f, 1.0f); + glClearColor(0.0f, 0.0f, 0.0f, 1.0f); glDisable(GL_SCISSOR_TEST); glClear(GL_COLOR_BUFFER_BIT); glEnable(GL_SCISSOR_TEST);