Compile fix; forgot to commit this last time.

This commit is contained in:
hispidence 2021-07-30 11:44:00 +01:00
parent 8b7928d83e
commit d61b38647b

View file

@ -401,7 +401,7 @@ namespace T5M::Renderer
{ {
wchar_t introFileChars[255]; wchar_t introFileChars[255];
std::mbstowcs(introFileChars, g_GameFlow->Intro, 255); std::mbstowcs(introFileChars, g_GameFlow->IntroImagePath.c_str(), 255);
std::wstring titleStringFileName(introFileChars); std::wstring titleStringFileName(introFileChars);
Texture2D texture = Texture2D(m_device.Get(), titleStringFileName); Texture2D texture = Texture2D(m_device.Get(), titleStringFileName);