diff --git a/deps/build.jl b/deps/build.jl deleted file mode 100644 index f922a21..0000000 --- a/deps/build.jl +++ /dev/null @@ -1,4 +0,0 @@ -debug_level = lowercase(get(ENV, "MODERNGL_DEBUGGING", "false")) == "true" -open(joinpath(@__DIR__, "deps.jl"), "w") do io - println(io, "const enable_opengl_debugging = $debug_level") -end diff --git a/src/functionloading.jl b/src/functionloading.jl index 47b18e2..93de32b 100644 --- a/src/functionloading.jl +++ b/src/functionloading.jl @@ -1,6 +1,8 @@ const depsfile = normpath(joinpath(@__DIR__, "..", "deps", "deps.jl")) if isfile(depsfile) + # to change create this file with + # const enable_opengl_debugging = true/false include(depsfile) else const enable_opengl_debugging = get(ENV, "MODERNGL_DEBUGGING", "false") == "true"