diff --git a/lib/opengl.nim b/lib/opengl.nim index 6be77fd..693134a 100644 --- a/lib/opengl.nim +++ b/lib/opengl.nim @@ -207,7 +207,7 @@ proc checkGlError = raise exc -const NoGlAutoErrorCheck = defined(noglautoerrorcheck) +const NoGlAutoErrorCheck = defined(noGlAutoErrorCheck) var glAutoErrorCheck = true