From 568d439c242bfac33ed85b84ee073da91621fb7a Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 20 Mar 2018 10:13:10 +0200 Subject: [PATCH] Removed deleted virtual functions This solves linking errors on macOS with missing ___cxa_deleted_virtual symbol --- src/textures/textures.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/textures/textures.h b/src/textures/textures.h index f9aec0b9b..52fd089c8 100644 --- a/src/textures/textures.h +++ b/src/textures/textures.h @@ -225,14 +225,12 @@ public: }; // Returns a single column of the texture - virtual const uint8_t *GetColumn(unsigned int column, const Span **spans_out) = delete; virtual const uint8_t *GetColumn(FRenderStyle style, unsigned int column, const Span **spans_out) = 0; // Returns a single column of the texture, in BGRA8 format virtual const uint32_t *GetColumnBgra(unsigned int column, const Span **spans_out); // Returns the whole texture, stored in column-major order - virtual const uint8_t *GetPixels() = delete; virtual const uint8_t *GetPixels(FRenderStyle style) = 0; // Returns the whole texture, stored in column-major order, in BGRA8 format @@ -595,7 +593,6 @@ protected: const uint8_t *GetColumn(FRenderStyle style, unsigned int column, const Span **spans_out) override; const uint8_t *GetPixels(FRenderStyle style) override; void Unload() override; - virtual void MakeTexture() = delete; virtual uint8_t *MakeTexture(FRenderStyle style) = 0; void FreeAllSpans(); };