GLObject implements IDisposable
This commit is contained in:
@@ -17,6 +17,11 @@ namespace hexworld.Util
|
||||
{
|
||||
}
|
||||
|
||||
protected override void Delete()
|
||||
{
|
||||
GL.DeleteProgram(Id);
|
||||
}
|
||||
|
||||
public void Attach(Shader shader) => GL.AttachShader(Id, shader.Id);
|
||||
|
||||
public bool LinkStatus
|
||||
|
||||
Reference in New Issue
Block a user