Showing the changes to libraries/render-utils/src/TextureCache.cpp (1 of 1 file). Show all
Unified · Split
| @@ -383,9 +383,9 @@ ImageReader::ImageReader(const QWeakPointer<Resource>& texture, TextureType type · 382 unmodified lines | ||
| 383 | 383 | _content(content) { |
| 384 | 384 | } |
| 385 | 385 | |
| 386 | −std::once_flag onceListSuppoertedFormatsflag; | |
| 386 | +std::once_flag onceListSupportedFormatsflag; | |
| 387 | 387 | void listSupportedImageFormats() { |
| 388 | − std::call_once(onceListSuppoertedFormatsflag, [](){ | |
| 388 | + std::call_once(onceListSupportedFormatsflag, [](){ | |
| 389 | 389 | auto supportedFormats = QImageReader::supportedImageFormats(); |
| 390 | 390 | QString formats; |
| 391 | 391 | foreach(const QByteArray& f, supportedFormats) { |