Exemple #1
0
 protected override void DisposeObject()
 {
     if (_bgrBuffers != null)
     {
         _bgrBuffers.Dispose();
         _bgrBuffers = null;
     }
     if (_grayBuffers != null)
     {
         _grayBuffers.Dispose();
         _grayBuffers = null;
     }
     if (_bgrSingleBuffers != null)
     {
         _bgrSingleBuffers.Dispose();
         _bgrSingleBuffers = null;
     }
 }
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     _bgrBuffers.Dispose();
 }