if (channels == 3) mColorMode = GL_RGB;
else mColorMode = GL_RGBA;
// read comments
png_get_text(pngObj, pngInfo, &texts, &numTexts);
if (channels == 3) mColorMode = GL_RGB;
else mColorMode = GL_RGBA;
// read comments
png_get_text(pngObj, pngInfo, &texts, &numTexts);