From Jay Berkenbilt on Bug 2401.
An Ubuntu user noticed that tiffgt was not appropriately calling glFlush(), which was causing tiffgt to open blank windows in some cases. I'm not sure what the cases are, but my system happened to be one that saw blank windows, and the one-line fix the user provided was sufficient to solve it in my case.
This commit is contained in:
parent
106157e7d7
commit
76939f073f
@ -1,5 +1,8 @@
|
||||
2015-06-14 Lee Howard <faxguy@howardsilvan.com>
|
||||
|
||||
* tools/tiffgt.c (raster_draw): contribution from Jay Berkenbilt
|
||||
on Bugzilla Bug #2401. Appropriately call glFlush().
|
||||
|
||||
* tools/tiff2pdf.c: change ColorTransform from "0" to "1"
|
||||
following Bugzilla Bug #2150.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: tiffgt.c,v 1.11 2014-12-26 16:06:41 bfriesen Exp $ */
|
||||
/* $Id: tiffgt.c,v 1.12 2015-06-14 21:44:17 faxguy Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988-1997 Sam Leffler
|
||||
@ -287,6 +287,7 @@ static void
|
||||
raster_draw(void)
|
||||
{
|
||||
glDrawPixels(img.width, img.height, GL_RGBA, GL_UNSIGNED_BYTE, (const GLvoid *) raster);
|
||||
glFlush();
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user