diff --git a/src/rendering.c b/src/rendering.c index ef1d96e..1148d29 100644 --- a/src/rendering.c +++ b/src/rendering.c @@ -114,10 +114,10 @@ static void render_space(void) { glDepthMask(GL_TRUE); glDepthFunc(GL_LESS); glDepthRange(0, 1); - glEnable(GL_BLEND); - glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); + glDisable(GL_BLEND); + glEnable(GL_ALPHA_TEST); /* TODO: infer its usage */ + glAlphaFunc(GL_EQUAL, 1.0f); glEnable(GL_TEXTURE_2D); - glDisable(GL_ALPHA_TEST); glActiveTexture(GL_TEXTURE0); /* solid white, no modulation */