mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 12:47:58 +03:00
gfx/context: fix Mac builds
This commit is contained in:
parent
de1a63fc74
commit
01e18f2cf0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue