X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fcommands_backend.h;h=5fcae882a26a7c053ff72595c35521d32735d1bc;hb=a9e3cf282bd9c5c43e767552b73068e7a56765e2;hp=3f2c3be9bbf243029028f519360c4e5523f4b642;hpb=edc150206f9762facf37b419705ddb8cf21f4e4c;p=libs%2Fgl.git diff --git a/source/backends/vulkan/commands_backend.h b/source/backends/vulkan/commands_backend.h index 3f2c3be9..5fcae882 100644 --- a/source/backends/vulkan/commands_backend.h +++ b/source/backends/vulkan/commands_backend.h @@ -43,7 +43,7 @@ protected: Device &device; std::vector command_pools; - CommandPool *current_pool = 0; + unsigned frame_index = 0; VkCommandBuffer primary_buffer = 0; VkCommandBuffer pass_buffer = 0; const PipelineState *pipeline_state = 0;