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

            if (Handle.Valid)
            {
                GraphicsContext.DestroyFrameBuffer(Handle);
            }
        }