Index: src/gpu/vk/GrVkResourceProvider.cpp |
diff --git a/src/gpu/vk/GrVkResourceProvider.cpp b/src/gpu/vk/GrVkResourceProvider.cpp |
index cd3ba47bcaf586e71adac8f5aee421544ca427ef..ae333bc69e7f9132cedf1cf70c5a29abe5681445 100644 |
--- a/src/gpu/vk/GrVkResourceProvider.cpp |
+++ b/src/gpu/vk/GrVkResourceProvider.cpp |
@@ -215,8 +215,8 @@ void GrVkResourceProvider::getUniformDescriptorSet(VkDescriptorSet* ds, |
*outPool = fUniformDescPool; |
} |
-GrVkCommandBuffer* GrVkResourceProvider::createCommandBuffer() { |
- GrVkCommandBuffer* cmdBuffer = GrVkCommandBuffer::Create(fGpu, fGpu->cmdPool()); |
+GrVkPrimaryCommandBuffer* GrVkResourceProvider::createPrimaryCommandBuffer() { |
+ GrVkPrimaryCommandBuffer* cmdBuffer = GrVkPrimaryCommandBuffer::Create(fGpu, fGpu->cmdPool()); |
fActiveCommandBuffers.push_back(cmdBuffer); |
cmdBuffer->ref(); |
return cmdBuffer; |