aboutsummaryrefslogtreecommitdiff
path: root/cube/cube.c
diff options
context:
space:
mode:
authorTony-LunarG <tony@lunarg.com>2021-06-15 13:14:06 -0600
committerTony Barbour <tony@lunarg.com>2021-06-16 07:45:45 -0600
commit02897e9cb6157613190ec214425d04fa10112525 (patch)
treea9c14281fafd8b54820d139448fe8b34e38d6628 /cube/cube.c
parentf1f5bdbd1b6056fd4750583008faa923c21a9b3d (diff)
downloadusermoji-02897e9cb6157613190ec214425d04fa10112525.tar.xz
vkcube: Fix alpha enum type
Change-Id: Id85e0228aeb834de37586fa5d8d334ddc1c7371e
Diffstat (limited to 'cube/cube.c')
-rw-r--r--cube/cube.c4
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,