Files
dolphin/Source/Core/VideoCommon
cristian64 6059045c59 Core: Address -Wrange-loop-construct warning.
The warning can be seen since 1f72403ec7 when GCC 13.3.0 is used:

```counterexample
[1540/1898] Building CXX object Source/Core/VideoCommon/CMakeFiles/videocommon.dir/TextureCacheBase.cpp.o
/w/dolphin/Source/Core/VideoCommon/TextureCacheBase.cpp: In member function 'void TextureCacheBase::ApplyMaterialToCacheEntry(const VideoCommon::MaterialResource&, TCacheEntry*)':
/w/dolphin/Source/Core/VideoCommon/TextureCacheBase.cpp:3136:19: warning: loop variable 'texture' creates a copy from type 'const VideoCommon::MaterialResource::TextureLikeReference' [-Wrange-loop-construct]
 3136 |   for (const auto texture : material_data->GetTextures())
      |                   ^~~~~~~
/w/dolphin/Source/Core/VideoCommon/TextureCacheBase.cpp:3136:19: note: use reference type to prevent copying
 3136 |   for (const auto texture : material_data->GetTextures())
      |                   ^~~~~~~
      |                   &
```
2026-04-18 10:23:55 +01:00
..
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-24 16:50:10 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2024-08-20 14:59:54 +02:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-24 16:50:10 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2021-12-10 14:49:57 -08:00
2021-12-10 14:49:57 -08:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00
2026-01-25 16:12:15 +01:00