X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fcommands_backend.h;h=b87d73e0b71b5bffb22ff5c13133cf8e53ac2f21;hp=4de712f57092947409fb554826139e9300ee4198;hb=b9b6fb7c5e59f662b011857140cea5e6be0c4309;hpb=6630b1106493e5a072a9a9f212f0d00648dbedd4 diff --git a/source/backends/vulkan/commands_backend.h b/source/backends/vulkan/commands_backend.h index 4de712f5..b87d73e0 100644 --- a/source/backends/vulkan/commands_backend.h +++ b/source/backends/vulkan/commands_backend.h @@ -14,6 +14,7 @@ class Device; class Framebuffer; class PipelineState; class QueryPool; +struct Rect; class Semaphore; class SwapChain; @@ -37,7 +38,8 @@ protected: CommandPool *current_pool = 0; VkCommandBuffer current_buffer = 0; const PipelineState *pipeline_state = 0; - VkRenderPass render_pass = 0; + const Framebuffer *framebuffer = 0; + const Rect *viewport = 0; VulkanCommands(); ~VulkanCommands();