From f7b3756416d26399d9b86164403d3a930e93f963 Mon Sep 17 00:00:00 2001 From: David Gonzalez Martin Date: Mon, 25 Nov 2024 17:59:27 -0600 Subject: [PATCH] Fix compiler error --- bootstrap/std/render.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap/std/render.c b/bootstrap/std/render.c index 47a6610..bc9b174 100644 --- a/bootstrap/std/render.c +++ b/bootstrap/std/render.c @@ -458,11 +458,11 @@ Renderer* renderer_initialize() }; #endif - void* pNext = + auto* pNext = #if BB_DEBUG - enable_shader_debug_printf ? (const void*)&validation_features : (const void*)&msg_ci, + enable_shader_debug_printf ? (void*)&validation_features : (void*)&msg_ci; #else - 0; + (void*)0; #endif VkApplicationInfo app_info = { .sType = VK_STRUCTURE_TYPE_APPLICATION_INFO,