Index: src/gpu/vk/GrVkGpu.cpp |
diff --git a/src/gpu/vk/GrVkGpu.cpp b/src/gpu/vk/GrVkGpu.cpp |
index f9046b75892b7f5c7d69976a0f3eede123da9a0e..bfa9597fa9b5cfab31e452e0a5c740cb241a6632 100644 |
--- a/src/gpu/vk/GrVkGpu.cpp |
+++ b/src/gpu/vk/GrVkGpu.cpp |
@@ -706,7 +706,7 @@ GrBackendObject GrVkGpu::createTestingOnlyBackendTexture(void* srcData, int w, i |
0, // VkImageCreateFlags |
VK_IMAGE_TYPE_2D, // VkImageType |
pixelFormat, // VkFormat |
- { w, h, 1 }, // VkExtent3D |
+ { (uint32_t) w, (uint32_t) h, 1 }, // VkExtent3D |
1, // mipLevels |
1, // arrayLayers |
vkSamples, // samples |