summaryrefslogtreecommitdiff
path: root/libs/hwui/VkLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/VkLayer.cpp')
-rw-r--r--libs/hwui/VkLayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/VkLayer.cpp b/libs/hwui/VkLayer.cpp
index 537b3eaa3ad5..ef4784b3d65b 100644
--- a/libs/hwui/VkLayer.cpp
+++ b/libs/hwui/VkLayer.cpp
@@ -29,7 +29,7 @@ void VkLayer::updateTexture() {
SkImageInfo info = SkImageInfo::MakeS32(mWidth, mHeight, kPremul_SkAlphaType);
surface = SkSurface::MakeRenderTarget(mRenderState.getGrContext(), SkBudgeted::kNo, info);
surface->getCanvas()->clear(SK_ColorBLUE);
- mImage = surface->makeImageSnapshot(SkBudgeted::kNo);
+ mImage = surface->makeImageSnapshot();
}
void VkLayer::onVkContextDestroyed() {