appInfo.free();
return ret;
}
private static long setupDebugging(VkInstance instance, int flags, VkDebugReportCallbackEXT callback) {
VkDebugReportCallbackCreateInfoEXT dbgCreateInfo = VkDebugReportCallbackCreateInfoEXT.calloc()
<BUG>.sType(VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT)
</BUG>
.pNext(NULL)
.pfnCallback(callback)
.pUserData(NULL)

appInfo.free();
return ret;
}
private static long setupDebugging(VkInstance instance, int flags, VkDebugReportCallbackEXT callback) {
VkDebugReportCallbackCreateInfoEXT dbgCreateInfo = VkDebugReportCallbackCreateInfoEXT.calloc()
.sType(VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT)
.pNext(NULL)
.pfnCallback(callback)
.pUserData(NULL)
