From 4a1d2780b84d685284ee1ff1597e68d44d1d9981 Mon Sep 17 00:00:00 2001 From: ffreyer Date: Thu, 2 Jan 2025 22:47:41 +0100 Subject: [PATCH] fix typo --- GLMakie/src/gl_backend.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GLMakie/src/gl_backend.jl b/GLMakie/src/gl_backend.jl index eabbe033030..050ba9799f5 100644 --- a/GLMakie/src/gl_backend.jl +++ b/GLMakie/src/gl_backend.jl @@ -36,7 +36,7 @@ function get_texture!(context, atlas::Makie.TextureAtlas) return true else @error("Cached atlas textures should be removed explicitly! $ctx") - println("Reason:", GLFW.is_initialized() ? "" : " not initialized", was_destroyed(x) ? " destroyed" : "") + println("Reason:", GLFW.is_initialized() ? "" : " not initialized", was_destroyed(ctx) ? " destroyed" : "") Base.show_backtrace(stdout, Base.catch_backtrace()) flush(stdout) tex_func[1].id = 0 # Should get cleaned up when OpenGL context gets destroyed