We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58fc475 commit c6e137dCopy full SHA for c6e137d
GLMakie/test/runtests.jl
@@ -9,7 +9,10 @@ using ReferenceTests
9
# verify OpenGL object cleanup
10
GLMakie.GLAbstraction.GLMAKIE_DEBUG[] = true
11
12
-if !GLMakie.ModernGL.enable_opengl_debugging
+deref(x) = x
13
+deref(x::Base.RefValue) = x[]
14
+
15
+if !deref(GLMakie.ModernGL.enable_opengl_debugging)
16
# can't error, since we can't enable debugging for users
17
@warn("TESTING WITHOUT OPENGL DEBUGGING")
18
end
0 commit comments