mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Fix inverted icons
This commit is contained in:
parent
72da678bc2
commit
3b8108e887
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ GLuint TextureCache::getShadowDepthTextureID() {
|
|||
|
||||
/// Returns a texture version of an image file
|
||||
gpu::TexturePointer TextureCache::getImageTexture(const QString & path) {
|
||||
QImage image(path);
|
||||
QImage image = QImage(path).mirrored(false, true);
|
||||
gpu::Element formatGPU = gpu::Element(gpu::VEC3, gpu::UINT8, gpu::RGB);
|
||||
gpu::Element formatMip = gpu::Element(gpu::VEC3, gpu::UINT8, gpu::RGB);
|
||||
if (image.hasAlphaChannel()) {
|
||||
|
|
Loading…
Reference in a new issue