diff --git a/src/ModernGL.jl b/src/ModernGL.jl index 3cdcb4d..527f744 100644 --- a/src/ModernGL.jl +++ b/src/ModernGL.jl @@ -71,7 +71,7 @@ macro GenEnums(list) end dictname = gensym() enumtype = quote - immutable $(enumName){Sym, T} <: Enum + struct $(enumName){Sym, T} <: Enum number::T name::Symbol end