Index: src/gpu/vk/GrVkIndexBuffer.cpp |
diff --git a/src/gpu/vk/GrVkIndexBuffer.cpp b/src/gpu/vk/GrVkIndexBuffer.cpp |
index 02e100d28a250750aa8d4811581696655320499f..7342e939e19e00c09cc5be09d48d18ef414cd3bb 100644 |
--- a/src/gpu/vk/GrVkIndexBuffer.cpp |
+++ b/src/gpu/vk/GrVkIndexBuffer.cpp |
@@ -10,7 +10,7 @@ |
GrVkIndexBuffer::GrVkIndexBuffer(GrVkGpu* gpu, const GrVkBuffer::Desc& desc, |
const GrVkBuffer::Resource* bufferResource) |
- : INHERITED(gpu, desc.fSizeInBytes, kIndex_GrBufferType, |
+ : INHERITED(gpu, kIndex_GrBufferType, desc.fSizeInBytes, |
desc.fDynamic ? kDynamic_GrAccessPattern : kStatic_GrAccessPattern, false) |
, GrVkBuffer(desc, bufferResource) { |
this->registerWithCache(); |