gfx/context: fix Mac builds
Some checks are pending
Run code linters / Run code linters (push) Waiting to run
Publish a pre-release / Build TR1 (push) Has been skipped
Publish a pre-release / Build TR2 (push) Has been skipped
Publish a pre-release / Create a prerelease (push) Has been skipped

This commit is contained in:
Marcin Kurczewski 2025-04-04 00:04:15 +02:00
parent de1a63fc74
commit 01e18f2cf0
No known key found for this signature in database
GPG key ID: CC65E6FD28CAE42A

View file

@ -158,7 +158,7 @@ bool GFX_Context_Attach(void *window_handle, GFX_GL_BACKEND backend)
// VSync defaults to on unless user disabled it in runtime json
SDL_GL_SetSwapInterval(1);
#if DEBUG
#if DEBUG && !defined(__APPLE__)
glDebugMessageCallback(M_GLDebug, nullptr);
glEnable(GL_DEBUG_OUTPUT);
#endif