Browse Source

Added missing overrides to android windowing code

tags/2021-05-28
hogliux 9 years ago
parent
commit
67600e98fd
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_gui_basics/native/juce_android_Windowing.cpp

+ 2
- 2
modules/juce_gui_basics/native/juce_android_Windowing.cpp 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);


Loading…
Cancel
Save