diff --git a/test/runtests.jl b/test/runtests.jl index 872e37f..4a37204 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,5 @@ import GLFW -using ModernGL, Compat +using ModernGL include("util.jl") function is_ci() diff --git a/test/util.jl b/test/util.jl index fdc24db..e081139 100644 --- a/test/util.jl +++ b/test/util.jl @@ -109,17 +109,17 @@ function createcontextinfo() else error("Unexpected version number string. Please report this bug! OpenGL version string: $(glv)") end - dict = @compat(Dict{Symbol,Any}( + dict = Dict{Symbol,Any}( :glsl_version => glsl, :gl_version => glv, :gl_vendor => unsafe_string(glGetString(GL_VENDOR)), :gl_renderer => unsafe_string(glGetString(GL_RENDERER)), #:gl_extensions => split(unsafe_string(glGetString(GL_EXTENSIONS))), - )) + ) end function get_glsl_version_string() if isempty(GLSL_VERSION) error("couldn't get GLSL version, GLUTils not initialized, or context not created?") end return "#version $(GLSL_VERSION)\n" -end \ No newline at end of file +end