Showing the changes to interface/src/renderer/TextureCache.cpp (1 of 28 files). Show all
Unified · Split
| @@ -106,7 +106,6 @@ GLuint TextureCache::getBlueTextureID() { · 105 unmodified lines | |||
| 106 | GLuint TextureCache::getFileTextureID(const QString& filename) { | 106 | GLuint TextureCache::getFileTextureID(const QString& filename) { |
| 107 | GLuint id = _fileTextureIDs.value(filename); | 107 | GLuint id = _fileTextureIDs.value(filename); |
| 108 | if (id == 0) { | 108 | if (id == 0) { |
| 109 | switchToResourcesParentIfRequired(); | ||
| 110 | QImage image = QImage(filename).convertToFormat(QImage::Format_ARGB32); | 109 | QImage image = QImage(filename).convertToFormat(QImage::Format_ARGB32); |
| 111 | 110 | ||
| 112 | glGenTextures(1, &id); | 111 | glGenTextures(1, &id); |