Index: src/gpu/vk/GrVkGpu.cpp |
diff --git a/src/gpu/vk/GrVkGpu.cpp b/src/gpu/vk/GrVkGpu.cpp |
index 28dce344be37659f0e18b4fbd768dc0b7164461f..d235e6490c821bad36be7d3ab74f8a6db514653f 100644 |
--- a/src/gpu/vk/GrVkGpu.cpp |
+++ b/src/gpu/vk/GrVkGpu.cpp |
@@ -120,7 +120,7 @@ GrVkGpu::GrVkGpu(GrContext* context, const GrContextOptions& options, |
VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO, // sType |
nullptr, // pNext |
VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, // CmdPoolCreateFlags |
- backendCtx->fQueueFamilyIndex, // queueFamilyIndex |
+ backendCtx->fGraphicsQueueIndex, // queueFamilyIndex |
}; |
GR_VK_CALL_ERRCHECK(this->vkInterface(), CreateCommandPool(fDevice, &cmdPoolInfo, nullptr, |
&fCmdPool)); |