diff options
| author | JosJuice <josjuice@gmail.com> | 2016-06-28 18:05:44 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2016-06-28 18:05:44 +0200 |
| commit | 202c9d58cdbb7883a8da6f37186d4985c6dc0cf5 (patch) | |
| tree | 1d2dd95a77f08bbf6ad4ead6f632771836451517 /Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp | |
| parent | 10682dbf5843bcf55cda7db4bc4e5acaee556648 (diff) | |
VolumeGC: Set m_banner_loaded when banner loading fails
If banner loading fails once, it will very likely fail again.
Setting m_banner_loaded to true when banner loading fails
prevents LoadBannerFile from wasting time if it's called again.
Banner loading requires loading the file system, which takes a
noticeable amount of time, so this matters.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions
