]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/framebuffer_backend.h
Make it possible to query if a framebuffer can be presented
[libs/gl.git] / source / backends / vulkan / framebuffer_backend.h
index 3fa75421cb03b2f61a1ca61e54561999c5441000..faca5658feb7a0e2b1b5febf1c01d56e174dd787 100644 (file)
@@ -28,8 +28,11 @@ protected:
        ~VulkanFramebuffer();
 
        bool is_format_supported(const FrameFormat &);
+       void format_changed(const FrameFormat &) { }
        static void require_layered() { }
 
+       bool is_presentable() const;
+
        void update(unsigned) const;
        void require_complete() const { }