-
Fredrik Höglund authored
QImage::Format_RGBA8888_Premultiplied is the equivalent of GL_RGBA/GL_UNSIGNED_BYTE, so use QImage::convertToFormat() instead. This commit also makes the texture upload code work correctly on big-endian systems.
383a5ac3
QImage::Format_RGBA8888_Premultiplied is the equivalent of GL_RGBA/GL_UNSIGNED_BYTE, so use QImage::convertToFormat() instead. This commit also makes the texture upload code work correctly on big-endian systems.