You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
More GIProbe work and fixes
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
/*************************************************************************/
|
||||
|
||||
#include "vulkan_context.h"
|
||||
#include "core/engine.h"
|
||||
#include "core/print_string.h"
|
||||
#include "core/project_settings.h"
|
||||
#include "core/version.h"
|
||||
@@ -36,6 +37,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
||||
#define VULKAN_DEBUG(m_text) print_line(m_text)
|
||||
#define APP_SHORT_NAME "GodotEngine"
|
||||
@@ -121,7 +123,9 @@ VKAPI_ATTR VkBool32 VKAPI_CALL VulkanContext::_debug_messenger_callback(VkDebugU
|
||||
|
||||
free(message);
|
||||
|
||||
// abort();
|
||||
if (Engine::get_singleton()->is_abort_on_gpu_errors_enabled()) {
|
||||
abort();
|
||||
}
|
||||
// Don't bail out, but keep going.
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user