Merge pull request 'Fix windows build' (#168) from misc into master

Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/168
This commit is contained in:
Oleksii_Hyzha
2024-12-02 15:18:58 +01:00

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