1
0
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:
Juan Linietsky
2019-10-05 10:27:43 -03:00
parent 6075c5f9bf
commit 6ee2f5e6b6
22 changed files with 233 additions and 113 deletions

View File

@@ -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;
}