Skip to content

Commit 5da017f

Browse files
committed
vulkan/context: fix boolean type
oops... Fixes: 53768af
1 parent 14546bb commit 5da017f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vulkan/context.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ next_opt_user_ext: ;
801801
debug_ext_done: ;
802802

803803
#define ENABLE_BOOL(name) \
804-
{"VK_LAYER_KHRONOS_validation", name, VK_LAYER_SETTING_TYPE_BOOL32_EXT, 1, &(bool){true}}
804+
{"VK_LAYER_KHRONOS_validation", name, VK_LAYER_SETTING_TYPE_BOOL32_EXT, 1, &(VkBool32){VK_TRUE}}
805805
const VkLayerSettingEXT debug_settings[] = {
806806
ENABLE_BOOL("validate_best_practices"),
807807

0 commit comments

Comments
 (0)