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:
parent
57f12e5063
commit
67600e98fd
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue