Index: src/gpu/vk/GrVkGpu.cpp |
diff --git a/src/gpu/vk/GrVkGpu.cpp b/src/gpu/vk/GrVkGpu.cpp |
index 040912e73ab2754c34d082451bf07a39f16d5e87..eebb5898863d31fc8d6c298d99026077d3ec7487 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)); |