Skip to content

Commit c6e137d

Browse files
authored
Fix CI for ModernGL 1.1.8 (#4737)
deal with ModernGL.enable_opengl_debugging becoming a ref
1 parent 58fc475 commit c6e137d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

GLMakie/test/runtests.jl

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ using ReferenceTests
99
# verify OpenGL object cleanup
1010
GLMakie.GLAbstraction.GLMAKIE_DEBUG[] = true
1111

12-
if !GLMakie.ModernGL.enable_opengl_debugging
12+
deref(x) = x
13+
deref(x::Base.RefValue) = x[]
14+
15+
if !deref(GLMakie.ModernGL.enable_opengl_debugging)
1316
# can't error, since we can't enable debugging for users
1417
@warn("TESTING WITHOUT OPENGL DEBUGGING")
1518
end

0 commit comments

Comments
 (0)