mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
driver/screenshot.cpp: ifdef for png_set_invert_alpha
Origin commit data
------------------
Branch: ni/coolstream
Commit: 27fd5a7105
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-03-05 (Tue, 05 Mar 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -220,7 +220,9 @@ bool CScreenShot::SavePng()
|
||||
png_set_compression_level(png_ptr, Z_BEST_SPEED);
|
||||
|
||||
png_set_bgr(png_ptr);
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
png_set_invert_alpha(png_ptr);
|
||||
#endif
|
||||
png_write_info(png_ptr, info_ptr);
|
||||
png_write_image(png_ptr, row_pointers);
|
||||
png_write_end(png_ptr, info_ptr);
|
||||
|
Reference in New Issue
Block a user