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