mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-08 03:28:03 +03:00
Make Renderer11::Initialise use TitleScreenImagePath instead of Background.
This commit is contained in:
parent
c96a92f1cb
commit
361d22aa82
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ void T5M::Renderer::Renderer11::Initialise(int w, int h, int refreshRate, bool w
|
|||
|
||||
wchar_t titleScreenFile[255];
|
||||
std::wstring titleFile = std::wstring(titleScreenFile);
|
||||
std::mbstowcs(titleScreenFile, g_GameFlow->GetLevel(0)->Background.c_str(), 255);
|
||||
std::mbstowcs(titleScreenFile, g_GameFlow->TitleScreenImagePath.c_str(), 255);
|
||||
m_titleScreen = Texture2D(m_device.Get(), titleScreenFile);
|
||||
|
||||
auto whiteSpriteName = L"Textures/WhiteSprite.png";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue