From 4ff6e9bc72992baec4fd084a0397764215282603 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 23 Aug 2023 21:26:42 +0200 Subject: [PATCH] - fix altered virtuals and gave them an override qualifier. --- source/core/textures/tiletexture.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/core/textures/tiletexture.cpp b/source/core/textures/tiletexture.cpp index 72e454de0..68fd4197b 100644 --- a/source/core/textures/tiletexture.cpp +++ b/source/core/textures/tiletexture.cpp @@ -52,8 +52,8 @@ public: bTranslucent = false; } virtual uint8_t* GetRawData() = 0; - virtual PalettedPixels CreatePalettedPixels(int conversion); - virtual int CopyPixels(FBitmap* bmp, int conversion); // This will always ignore 'luminance'. + virtual PalettedPixels CreatePalettedPixels(int conversion, int frame) override; + virtual int CopyPixels(FBitmap* bmp, int conversion, int frame) override; // This will always ignore 'luminance'. }; //========================================================================== @@ -176,7 +176,7 @@ public: // //========================================================================== -int FTileTexture::CopyPixels(FBitmap* bmp, int conversion) +int FTileTexture::CopyPixels(FBitmap* bmp, int conversion, int) { TArray buffer; auto ppix = GetRawData(); @@ -188,7 +188,7 @@ int FTileTexture::CopyPixels(FBitmap* bmp, int conversion) } // 'conversion' is meaningless here becazse we do not have to bother with a software renderer. -PalettedPixels FTileTexture::CreatePalettedPixels(int conversion) +PalettedPixels FTileTexture::CreatePalettedPixels(int conversion, int) { if (GetRawData()) {