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:
parent
b5c5df50ab
commit
1e627e23f3
|
@ -444,7 +444,7 @@ namespace dawn::native::vulkan {
|
||||||
VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR,
|
VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR,
|
||||||
};
|
};
|
||||||
for (uint32_t i = 0; i < 4; i++) {
|
for (uint32_t i = 0; i < 4; i++) {
|
||||||
if (surfCapabilities.supportedCompositeAlpha & compositeAlphaFlags[i]) {
|
if (surfaceInfo.capabilities.supportedCompositeAlpha & compositeAlphaFlags[i]) {
|
||||||
config.alphaMode = compositeAlphaFlags[i];
|
config.alphaMode = compositeAlphaFlags[i];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue