Add GL_DEBUG config that falls back to ODIN_DEBUG to preserve previous behaviour, but allows debug builds without OpenGL debug features

This commit is contained in:
Joakim Hentula committed 2022-09-02 13:30:45 +01:00
1 parent 57dea0e4d8
commit 0efc79bcb9
3 files changed
+4 -2

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
package odin_gl
GL_DEBUG :: #config(GL_DEBUG, ODIN_DEBUG)
FALSE :: false
TRUE :: true