Fixed warnings about missing screenshots caused by 'prefetching'
screenshots.
This commit is contained in:
parent
4f5b84a134
commit
27ed23a6e7
@ -210,6 +210,8 @@ bool TrackManager::loadTrack(const std::string& dirname)
|
|||||||
updateGroups(track);
|
updateGroups(track);
|
||||||
|
|
||||||
// Populate the texture cache with track screenshots
|
// Populate the texture cache with track screenshots
|
||||||
|
// (internal tracks like end cutscene don't have screenshots)
|
||||||
|
if (!track->isInternal())
|
||||||
irr_driver->getTexture(track->getScreenshotFile());
|
irr_driver->getTexture(track->getScreenshotFile());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user