From 018f5b8d05e67d1fc43b0c3061dded9ba0e54186 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 8 Apr 2018 11:52:10 +0300 Subject: [PATCH] Removed deleted virtual functions They led to link errors with the current Apple's toolchain --- src/v_video.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/v_video.h b/src/v_video.h index 7e744a113..cd3f78e06 100644 --- a/src/v_video.h +++ b/src/v_video.h @@ -311,13 +311,7 @@ public: inline int GetHeight() const { return Height; } virtual DCanvas *GetCanvas() { return nullptr; } - - // Access control - virtual bool IsValid() = delete; - virtual bool Lock(bool buffered = true) = delete; // Returns true if the surface was lost since last time - virtual void Unlock() = delete; - - // Make the surface visible. Also implies Unlock(). + // Make the surface visible. virtual void Update () = 0; // Return a pointer to 256 palette entries that can be written to.