From b76ee77ecfa6bfe5f0f0dee7273c5c4e6e366083 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sat, 20 Oct 2018 19:39:16 -1000 Subject: [PATCH] Fix CMoviePlayer from rendering upside down on Vulkan --- Runtime/Graphics/CMoviePlayer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Runtime/Graphics/CMoviePlayer.cpp b/Runtime/Graphics/CMoviePlayer.cpp index 7a20fec40..071112f00 100644 --- a/Runtime/Graphics/CMoviePlayer.cpp +++ b/Runtime/Graphics/CMoviePlayer.cpp @@ -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)); }