Browse Source

readonly isBufferRented

af/merge-core
Anton Firszov 10 years ago
parent
commit
6f054c3d95
  1. 10
      src/ImageSharp/Image/PixelArea{TColor}.cs

10
src/ImageSharp/Image/PixelArea{TColor}.cs

@ -18,6 +18,11 @@ namespace ImageSharp
public sealed unsafe class PixelArea<TColor> : IDisposable
where TColor : struct, IPackedPixel, IEquatable<TColor>
{
/// <summary>
/// True if <see cref="Bytes"/> was rented from <see cref="BytesPool"/> by the constructor
/// </summary>
private readonly bool isBufferRented;
/// <summary>
/// Provides a way to access the pixels from unmanaged memory.
/// </summary>
@ -28,11 +33,6 @@ namespace ImageSharp
/// </summary>
private IntPtr dataPointer;
/// <summary>
/// True if <see cref="Bytes"/> was rented from <see cref="BytesPool"/> by the constructor
/// </summary>
private bool isBufferRented;
/// <summary>
/// A value indicating whether this instance of the given entity has been disposed.
/// </summary>

Loading…
Cancel
Save