diff --git a/Diamond/Wrappers/Wrapper.cs b/Diamond/Wrappers/Wrapper.cs index 101bdee..8f34e96 100644 --- a/Diamond/Wrappers/Wrapper.cs +++ b/Diamond/Wrappers/Wrapper.cs @@ -15,9 +15,7 @@ namespace Diamond.Wrappers /// The OpenGL name of this object /// public int Id { get; private set; } - - public static explicit operator int(Wrapper o) => o.Id; - + // Force wrapper types to generate an Id at creation time protected Wrapper(int id) {