1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00

Added missing overrides to android windowing code

This commit is contained in:
hogliux 2017-02-02 10:20:55 +00:00
parent 57f12e5063
commit 67600e98fd

View file

@ -598,7 +598,7 @@ private:
ImageType* createType() const override { return new SoftwareImageType(); }
LowLevelGraphicsContext* createLowLevelContext() override { return new LowLevelGraphicsSoftwareRenderer (Image (this)); }
void initialiseBitmapData (Image::BitmapData& bm, int x, int y, Image::BitmapData::ReadWriteMode mode)
void initialiseBitmapData (Image::BitmapData& bm, int x, int y, Image::BitmapData::ReadWriteMode mode) override
{
bm.lineStride = width * sizeof (jint);
bm.pixelStride = sizeof (jint);
@ -606,7 +606,7 @@ private:
bm.data = (uint8*) (data + x + y * width);
}
ImagePixelData::Ptr clone()
ImagePixelData::Ptr clone() override
{
PreallocatedImage* s = new PreallocatedImage (width, height, 0, hasAlpha);
s->allocatedData.malloc (sizeof (jint) * width * height);