From 61801f23d1e181c7b03eca18231b9697c44b56cf Mon Sep 17 00:00:00 2001 From: sippeangelo Date: Thu, 22 Oct 2015 15:23:29 +0200 Subject: [PATCH] fixup! Loading screen that preloads the entire game based on what's in the "PreloadResources" file. The file is filled automatically with resources that are hot-loaded to make the next launch load more complete. --- include/Core/ResourceManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Core/ResourceManager.h b/include/Core/ResourceManager.h index 83a36e5..3dc5d07 100644 --- a/include/Core/ResourceManager.h +++ b/include/Core/ResourceManager.h @@ -165,7 +165,7 @@ void ResourceManager::Preload(std::string resourceName) auto resourceTypename = typeid(T).name(); auto it = m_CompilerTypenameToResourceType.find(resourceTypename); if (it == m_CompilerTypenameToResourceType.end()) { - LOG_ERROR("Failed to load resource \"%s\" of type \"%s\": type not registered", resourceName.c_str(), resourceType); + LOG_ERROR("Failed to load resource \"%s\" of type \"%s\": type not registered", resourceName.c_str(), resourceTypename); return; }