mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
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:
Vendored
+1
-1
@@ -2,7 +2,7 @@ package odin_gl
|
||||
|
||||
#assert(size_of(bool) == size_of(u8))
|
||||
|
||||
when !ODIN_DEBUG {
|
||||
when !GL_DEBUG {
|
||||
// VERSION_1_0
|
||||
CullFace :: proc "c" (mode: u32) { impl_CullFace(mode) }
|
||||
FrontFace :: proc "c" (mode: u32) { impl_FrontFace(mode) }
|
||||
|
||||
Reference in New Issue
Block a user