fix some bugs on linux

This commit is contained in:
Gregory Wells
2025-08-05 09:12:21 -04:00
parent dd5f1485d9
commit 56d79663a2
7 changed files with 11 additions and 12 deletions

View File

@@ -43,7 +43,7 @@ typedef struct gnDebuggerCreateInfo {
#ifdef GN_REVEAL_IMPL
static inline void gnDebuggerSetErrorMessage(gnDebuggerCreateInfo debugger, gnMessageData data) {
// if (debugger == NULL) return;
if (debugger.callback == 0) return;
debugger.callback(
GN_MESSAGE_ERROR,
GN_DEBUG_MESSAGE_VALIDATION,