/// <summary> /// Releases the frame buffer. /// </summary> protected override void Dispose() { if (handle.Valid) { GC.SuppressFinalize(this); GraphicsContext.DestroyFrameBuffer(handle); } }
/// <summary> /// Releases the frame buffer. /// </summary> protected override void Free() { base.Free(); if (Handle.Valid) { GraphicsContext.DestroyFrameBuffer(Handle); } }