Removed int conversion operator
This commit is contained in:
@@ -15,9 +15,7 @@ namespace Diamond.Wrappers
|
|||||||
/// The OpenGL name of this object
|
/// The OpenGL name of this object
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int Id { get; private set; }
|
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
|
// Force wrapper types to generate an Id at creation time
|
||||||
protected Wrapper(int id)
|
protected Wrapper(int id)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user