Removed deleted virtual functions

They led to link errors with the current Apple's toolchain
This commit is contained in:
alexey.lysiuk 2018-04-08 11:52:10 +03:00
parent 5a4307160e
commit 018f5b8d05

View file

@ -311,13 +311,7 @@ public:
inline int GetHeight() const { return Height; } inline int GetHeight() const { return Height; }
virtual DCanvas *GetCanvas() { return nullptr; } virtual DCanvas *GetCanvas() { return nullptr; }
// Make the surface visible.
// 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().
virtual void Update () = 0; virtual void Update () = 0;
// Return a pointer to 256 palette entries that can be written to. // Return a pointer to 256 palette entries that can be written to.