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:
parent
85d9667f59
commit
3622a17291
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user