Merge "vwebp: fix info display"

This commit is contained in:
pascal massimino 2012-07-10 07:37:28 -07:00 committed by Gerrit Code Review
commit 939158ce4f

View File

@ -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);
}