Android: Fix incorrect variable name

Bug: dawn:286

Change-Id: I2ad301a243112db1cc11ef83e241eab0812a197f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85062
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
AlexVestin 2022-03-29 18:10:13 +00:00 committed by Dawn LUCI CQ
parent b5c5df50ab
commit 1e627e23f3
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ namespace dawn::native::vulkan {
VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR,
};
for (uint32_t i = 0; i < 4; i++) {
if (surfCapabilities.supportedCompositeAlpha & compositeAlphaFlags[i]) {
if (surfaceInfo.capabilities.supportedCompositeAlpha & compositeAlphaFlags[i]) {
config.alphaMode = compositeAlphaFlags[i];
break;
}