X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fframebuffer_backend.cpp;h=9395635476025473e182653becb57316737006ed;hb=627d68b024f0d2fed4a03f0d9d3bb4b78358d6f3;hp=8f82f3f1be634458e04df7f0c41ef38bc20c843e;hpb=98f72f1666f45fa96407c96ff2bb88a5962e66c9;p=libs%2Fgl.git diff --git a/source/backends/vulkan/framebuffer_backend.cpp b/source/backends/vulkan/framebuffer_backend.cpp index 8f82f3f1..93956354 100644 --- a/source/backends/vulkan/framebuffer_backend.cpp +++ b/source/backends/vulkan/framebuffer_backend.cpp @@ -33,7 +33,7 @@ VulkanFramebuffer::~VulkanFramebuffer() dq.destroy(h); } -bool VulkanFramebuffer::is_format_supported(const FrameFormat &fmt) +bool VulkanFramebuffer::is_format_supported(const FrameFormat &fmt) const { const VulkanFunctions &vk = device.get_functions(); for(FrameAttachment a: fmt) @@ -148,7 +148,7 @@ void VulkanFramebuffer::update(unsigned mask) const set_vulkan_object_name(); } -void VulkanFramebuffer::prepare_image_layouts(bool discard) const +void VulkanFramebuffer::synchronize_resources(bool discard) const { for(const Framebuffer::Attachment &a: static_cast(this)->attachments) {