mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
make gamma argument of setup_qt() function required
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b1e1f18970
commit
9bc7a6b8a4
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ static void qpiw_flush_fn(png_structp /* png_ptr */)
|
|||
#endif
|
||||
|
||||
static
|
||||
void setup_qt(QImage& image, png_structp png_ptr, png_infop info_ptr, float screen_gamma=0.0)
|
||||
void setup_qt(QImage& image, png_structp png_ptr, png_infop info_ptr, float screen_gamma)
|
||||
{
|
||||
if (screen_gamma != 0.0 && png_get_valid(png_ptr, info_ptr, PNG_INFO_gAMA)) {
|
||||
double file_gamma;
|
||||
|
|
Loading…
Add table
Reference in a new issue