2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-05 17:35:35 +00:00

Fix CMoviePlayer from rendering upside down on Vulkan

This commit is contained in:
Jack Andersen 2018-10-20 19:39:16 -10:00
parent 8fb77eac2c
commit b76ee77ecf

View File

@ -297,6 +297,7 @@ CMoviePlayer::CMoviePlayer(const char* path, float preLoadSeconds, bool loop, bo
m_frame[3].m_uv = {1.f, 1.f};
SetFrame({-0.5f, 0.5f, 0.f}, {-0.5f, -0.5f, 0.f}, {0.5f, -0.5f, 0.f}, {0.5f, 0.5f, 0.f});
m_viewVertBlock.finalAssign(m_viewVertBlock);
m_blockBuf->load(&m_viewVertBlock, sizeof(m_viewVertBlock));
}