fix windows build

This commit is contained in:
ohyzha
2024-12-02 16:03:33 +02:00
parent c2ba301ce6
commit d2f541629c

View File

@@ -87,10 +87,10 @@ namespace OpenVulkano
LONG WINAPI win32ExceptionHandler(EXCEPTION_POINTERS *exceptionPointers)
{
// NOTE(vb): We can report some of the exceptionPointers fields to the user... But this is for windows only
if(!didLoggerShutdown)
if(!DidLoggerShutdown)
spdlog::error("An exception occured");
spdlog::shutdown();
didLoggerShutdown = true;
DidLoggerShutdown = true;
return EXCEPTION_CONTINUE_SEARCH;
}
#endif