Showing the changes to libraries/render-utils/src/TextureCache.cpp (1 of 6 files). Show all
Unified · Split
| @@ -296,7 +296,7 @@ GLuint TextureCache::getShadowDepthTextureID() { · 295 unmodified lines | ||
| 296 | 296 | } |
| 297 | 297 | |
| 298 | 298 | /// Returns a texture version of an image file |
| 299 | −gpu::TexturePointer TextureCache::getImageTexture(const QString & path) { | |
| 299 | +gpu::TexturePointer TextureCache::getImageTexture(const QString& path) { | |
| 300 | 300 | QImage image = QImage(path).mirrored(false, true); |
| 301 | 301 | gpu::Element formatGPU = gpu::Element(gpu::VEC3, gpu::UINT8, gpu::RGB); |
| 302 | 302 | gpu::Element formatMip = gpu::Element(gpu::VEC3, gpu::UINT8, gpu::RGB); |