]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/framebuffer_backend.h
Check if render target is swapchain and set to_present accordingly
[libs/gl.git] / source / backends / vulkan / framebuffer_backend.h
index ff15c0d556a8770dc4159e1994404646f04a8b2a..cb11004299692b01a1becdb0e4068b9af8b7c121 100644 (file)
@@ -9,6 +9,7 @@ namespace Msp {
 namespace GL {
 
 class Device;
+class Texture;
 
 class VulkanFramebuffer: public NonCopyable
 {
@@ -27,6 +28,7 @@ protected:
        bool is_format_supported(const FrameFormat &);
        static void require_layered() { }
 
+       const Texture *get_attachment(unsigned) const;
        void update(unsigned) const;
        void require_complete() const { }