mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
vulkan: fix canvas rendering (on android)
Before this patch, sometimes rendering a texture on an android device would result in random things appearing in the canvas, apart from the stuff that has been drawn properly. With these changes this does not seem to appear anymore.
This commit is contained in:
@@ -27,6 +27,7 @@ struct RenderPassConfiguration {
|
||||
std::vector<VkFormat> colorFormats;
|
||||
|
||||
struct StaticRenderPassConfiguration {
|
||||
VkImageLayout initialColorImageLayout = VK_IMAGE_LAYOUT_UNDEFINED;
|
||||
VkSampleCountFlagBits msaaSamples = VK_SAMPLE_COUNT_1_BIT;
|
||||
VkFormat depthFormat = VK_FORMAT_UNDEFINED;
|
||||
bool resolve = false;
|
||||
|
||||
Reference in New Issue
Block a user