comparison Core/Images/ImageBuffer.h @ 2107:88831c3edd8f

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Oct 2016 17:22:09 +0200
parents b1291df2f780
children a3a65de1840f
comparison
equal deleted inserted replaced
2106:09cb73980740 2107:88831c3edd8f
59 void Deallocate(); 59 void Deallocate();
60 60
61 public: 61 public:
62 ImageBuffer(PixelFormat format, 62 ImageBuffer(PixelFormat format,
63 unsigned int width, 63 unsigned int width,
64 unsigned int height); 64 unsigned int height,
65 bool forceMinimalPitch);
65 66
66 ImageBuffer() 67 ImageBuffer()
67 { 68 {
68 Initialize(); 69 Initialize();
69 } 70 }
106 bool IsMinimalPitchForced() const 107 bool IsMinimalPitchForced() const
107 { 108 {
108 return forceMinimalPitch_; 109 return forceMinimalPitch_;
109 } 110 }
110 111
111 void SetMinimalPitchForced(bool force);
112
113 void AcquireOwnership(ImageBuffer& other); 112 void AcquireOwnership(ImageBuffer& other);
114 }; 113 };
115 } 114 }