diff options
| author | Tony-LunarG <tony@lunarg.com> | 2021-06-15 13:14:06 -0600 |
|---|---|---|
| committer | Tony Barbour <tony@lunarg.com> | 2021-06-16 07:45:45 -0600 |
| commit | 02897e9cb6157613190ec214425d04fa10112525 (patch) | |
| tree | a9c14281fafd8b54820d139448fe8b34e38d6628 /cube/cube.c | |
| parent | f1f5bdbd1b6056fd4750583008faa923c21a9b3d (diff) | |
| download | usermoji-02897e9cb6157613190ec214425d04fa10112525.tar.xz | |
vkcube: Fix alpha enum type
Change-Id: Id85e0228aeb834de37586fa5d8d334ddc1c7371e
Diffstat (limited to 'cube/cube.c')
| -rw-r--r-- | cube/cube.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cube/cube.c b/cube/cube.c index f8da4f6b..373b08ff 100644 --- a/cube/cube.c +++ b/cube/cube.c @@ -3027,8 +3027,8 @@ static VkResult demo_create_display_surface(struct demo *demo) { VkDisplayPlaneCapabilitiesKHR planeCaps; vkGetDisplayPlaneCapabilitiesKHR(demo->gpu, mode_props.displayMode, plane_index, &planeCaps); // Find a supported alpha mode - VkCompositeAlphaFlagBitsKHR alphaMode = VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR; - VkCompositeAlphaFlagBitsKHR alphaModes[4] = { + VkDisplayPlaneAlphaFlagBitsKHR alphaMode = VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR; + VkDisplayPlaneAlphaFlagBitsKHR alphaModes[4] = { VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR, VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR, VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR, |
