src/driver/screenshot.cpp: enable png alpha invert

Origin commit data
------------------
Branch: ni/coolstream
Commit: c81c18f387
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-12-12 (Wed, 12 Dec 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-12-12 11:33:51 +04:00
parent e6c54be23b
commit a8504e0fa1

View File

@@ -220,7 +220,7 @@ bool CScreenShot::SavePng()
png_set_compression_level(png_ptr, Z_BEST_SPEED);
png_set_bgr(png_ptr);
//png_set_invert_alpha(png_ptr);
png_set_invert_alpha(png_ptr);
png_write_info(png_ptr, info_ptr);
png_write_image(png_ptr, row_pointers);
png_write_end(png_ptr, info_ptr);