]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/commands_backend.h
Multiplex streaming buffer contents on Vulkan
[libs/gl.git] / source / backends / vulkan / commands_backend.h
index 3f2c3be9bbf243029028f519360c4e5523f4b642..5fcae882a26a7c053ff72595c35521d32735d1bc 100644 (file)
@@ -43,7 +43,7 @@ protected:
 
        Device &device;
        std::vector<CommandPool> command_pools;
-       CommandPool *current_pool = 0;
+       unsigned frame_index = 0;
        VkCommandBuffer primary_buffer = 0;
        VkCommandBuffer pass_buffer = 0;
        const PipelineState *pipeline_state = 0;