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
1 changed files with 1 additions and 0 deletions

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));
}