Skip to content

Commit

Permalink
Merge branch 'sd/07' of https://github.com/JuliaGL/ModernGL.jl into s…
Browse files Browse the repository at this point in the history
…d/07
  • Loading branch information
SimonDanisch committed Jun 29, 2018
2 parents 629acc6 + 75dc193 commit 0b3c1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functionloading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ macro glfunc(opengl_func)
end
ptr_sym = gensym("$(func_name)_func_pointer")
ret = quote
const $ptr_sym = GLFunc(C_NULL)
$ptr_sym = GLFunc(C_NULL)
function $func_name($(arg_names...))
if $ptr_sym.p::Ptr{Cvoid} == C_NULL
$ptr_sym.p::Ptr{Cvoid} = $ptr_expr
Expand Down

0 comments on commit 0b3c1c7

Please sign in to comment.