imgui: skip all textures to avoid hanging with crash diagnostic enabled

not sure why this happens :c
This commit is contained in:
Vinicius Rangel 2024-10-12 21:46:10 -03:00
parent dbce929d7b
commit 87ecb87674
No known key found for this signature in database
GPG Key ID: A5B154D904B761D9

View File

@ -7,6 +7,7 @@
#include <externals/stb_image.h>
#include "common/assert.h"
#include "common/config.h"
#include "common/io_file.h"
#include "common/polyfill_thread.h"
#include "imgui_impl_vulkan.h"
@ -147,6 +148,11 @@ void WorkerLoop() {
g_job_list.pop_front();
g_job_list_mtx.unlock();
if (Config::vkCrashDiagnosticEnabled()) {
// FIXME: Crash diagnostic hangs when building the command buffer here
continue;
}
if (!path.empty()) { // Decode PNG from file
Common::FS::IOFile file(path, Common::FS::FileAccessMode::Read);
if (!file.IsOpen()) {