Răsfoiți Sursa

Moved compiled splash screen to a valid location

BearishSun 10 ani în urmă
părinte
comite
6dc4e6d3c1
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      BansheeEngine/Source/BsBuiltinResources.cpp

+ 2 - 2
BansheeEngine/Source/BsBuiltinResources.cpp

@@ -293,7 +293,7 @@ namespace BansheeEngine
 		// Import splash screen
 		{
 			Path inputPath = BuiltinRawDataFolder + WString(SplashScreenName);
-			Path outputPath = BuiltinRawDataFolder + (WString(SplashScreenName) + L".asset");
+			Path outputPath = BuiltinDataFolder + (WString(SplashScreenName) + L".asset");
 
 			auto textureIO = gImporter().createImportOptions<TextureImportOptions>(inputPath);
 			textureIO->setCPUReadable(true);
@@ -895,7 +895,7 @@ namespace BansheeEngine
 
 	PixelDataPtr BuiltinResources::getSplashScreen()
 	{
-		Path splashScreenPath = BuiltinRawDataFolder + (WString(SplashScreenName) + L".asset");
+		Path splashScreenPath = BuiltinDataFolder + (WString(SplashScreenName) + L".asset");
 		FileDecoder fd(splashScreenPath);
 
 		return std::static_pointer_cast<PixelData>(fd.decode());