From 921016181fffaeea2b1b9e86ca164cba1552e0f4 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lamoureux Date: Sat, 16 Sep 2006 13:19:23 +0000 Subject: [PATCH] * Fixed truecolor bug in OpenGL driver. --- caca/driver_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caca/driver_gl.c b/caca/driver_gl.c index 4657dea..a269960 100644 --- a/caca/driver_gl.c +++ b/caca/driver_gl.c @@ -279,7 +279,7 @@ static void gl_display(caca_display_t *dp) /* 2nd pass, avoids changing render state too much */ glEnable(GL_TEXTURE_2D); glEnable(GL_BLEND); - glBlendFunc(GL_SRC_ALPHA,GL_ONE); + glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA); line = 0; for(y = 0; y < dp->drv.p->height; y += dp->drv.p->font_height, line++)