Set level count for wrapped backbuffer

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1965533002

Review-Url: https://codereview.chromium.org/1965533002
This commit is contained in:
jvanverth 2016-05-10 06:42:18 -07:00 committed by Commit bot
parent 85d9667f59
commit 3622a17291

View File

@ -261,6 +261,7 @@ void VulkanWindowContext::createBuffers(VkFormat format) {
info.fImageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL;
info.fImageTiling = VK_IMAGE_TILING_OPTIMAL;
info.fFormat = format;
info.fLevelCount = 1;
desc.fWidth = fWidth;
desc.fHeight = fHeight;
desc.fConfig = fPixelConfig;