mirror of
https://github.com/rive-app/rive-cpp.git
synced 2026-01-18 21:21:17 +01:00
fix(vulkan): Fix "player" (#11314) 08c2e47d44
Testing window was restructured to allow the tests to destroy/recreate the device, but the render target was not being (re)created when the device was. Co-authored-by: Josh Jersild <joshua@rive.app>
This commit is contained in:
@@ -1 +1 @@
|
||||
5e2ecca1694b867c1faefa859101a01e1c5ce88b
|
||||
08c2e47d441a48c32ee10595e16ec5bf139cd367
|
||||
|
||||
@@ -418,6 +418,12 @@ private:
|
||||
m_height = m_androidWindowHeight;
|
||||
}
|
||||
|
||||
m_renderTarget =
|
||||
impl()->makeRenderTarget(m_width,
|
||||
m_height,
|
||||
m_swapchain->imageFormat(),
|
||||
m_swapchain->imageUsageFlags());
|
||||
|
||||
if (m_device->name() == "Mali-G76" || m_device->name() == "Mali-G72")
|
||||
{
|
||||
// These devices (like the Huawei P30 or Galaxy S10) will end up
|
||||
|
||||
Reference in New Issue
Block a user