1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00

Couple of minor Jucer updates.

This commit is contained in:
Julian Storer 2011-02-09 11:45:39 +00:00
parent 3dfbb0d713
commit d4818c2ac2
2 changed files with 2 additions and 2 deletions

View file

@ -312,7 +312,7 @@ protected:
dataBlock.writeInt (0); // clr used
dataBlock.writeInt (0); // clr important
const Image::BitmapData bitmap (image, false);
const Image::BitmapData bitmap (image, Image::BitmapData::readOnly);
const int alphaThreshold = 5;
int y;

View file

@ -260,7 +260,7 @@ private:
data.write (type, 4);
data.writeIntBigEndian (8 + 4 * w * h);
const Image::BitmapData bitmap (image, false);
const Image::BitmapData bitmap (image, Image::BitmapData::readOnly);
int y;
for (y = 0; y < h; ++y)