PNG: Fixed writing image.

This commit is contained in:
Branimir Karadžić
2018-03-20 17:54:17 -07:00
parent 6fd6fbfd66
commit 7e937dcb97
3 changed files with 30 additions and 15 deletions

View File

@@ -26,7 +26,7 @@
#include <string>
#define BIMG_TEXTUREC_VERSION_MAJOR 1
#define BIMG_TEXTUREC_VERSION_MINOR 11
#define BIMG_TEXTUREC_VERSION_MINOR 12
struct Options
{
@@ -854,7 +854,7 @@ int main(int _argc, const char* _argv[])
, mip.m_height
, mip.m_width*4
, mip.m_data
, false
, bimg::TextureFormat::RGBA8
, false
, &err);
}