From b35c07d9a7d9f41e58094418f4bce2d6411c76a1 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 9 Jul 2012 22:36:58 -0700 Subject: [PATCH] vwebp: fix info display change alpha intensity to 1 from 0; broken since alpha blending was enabled. Change-Id: Ic8bb73b62e602ae56e08e9d5a77fdc6aa76b54c5 --- examples/vwebp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vwebp.c b/examples/vwebp.c index 8b562a5e..90e98d29 100644 --- a/examples/vwebp.c +++ b/examples/vwebp.c @@ -127,12 +127,12 @@ static void HandleDisplay(void) { if (kParams.print_info) { char tmp[32]; - glColor4f(0.0, 0.0, 0.0, 0.0); + glColor4f(0.0, 0.0, 0.0, 1.0); glRasterPos2f(-0.95f, 0.90f); PrintString(kParams.file_name); snprintf(tmp, sizeof(tmp), "Dimension:%d x %d", pic->width, pic->height); - glColor4f(0.0, 0.0, 0.0, 0.0); + glColor4f(0.0, 0.0, 0.0, 1.0); glRasterPos2f(-0.95f, 0.80f); PrintString(tmp); }