Index: src/gpu/vk/GrVkUniformBuffer.h |
diff --git a/src/gpu/vk/GrVkUniformBuffer.h b/src/gpu/vk/GrVkUniformBuffer.h |
index 37ede72979b018c46227056e1373789529f10615..bfaf240a65f69a90a327903834c4d473d8262762 100644 |
--- a/src/gpu/vk/GrVkUniformBuffer.h |
+++ b/src/gpu/vk/GrVkUniformBuffer.h |
@@ -25,7 +25,7 @@ public: |
} |
// The output variable createdNewBuffer must be set to true if a new VkBuffer is created in |
// order to upload the data |
- bool updateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes, |
+ bool updateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes, |
bool* createdNewBuffer) { |
return this->vkUpdateData(gpu, src, srcSizeInBytes, createdNewBuffer); |
} |