summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-27 12:11:58 +0100
committerPatric Stout <github@truebrain.nl>2021-03-08 19:18:55 +0100
commitb9eac7c6dc5ca1e60c84aa32805936b616f68d6e (patch)
treeed67e89036b6363930d7ebd3af775126cc50f958 /src/video
parent4610aa7ae3db6cf561e156ba011de3c7b516876d (diff)
downloadopenttd-b9eac7c6dc5ca1e60c84aa32805936b616f68d6e.tar.xz
Codechange: remove the unused lock around Blitter
Diffstat (limited to 'src/video')
-rw-r--r--src/video/video_driver.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp
index 9a3ec6a36..cfb853dba 100644
--- a/src/video/video_driver.hpp
+++ b/src/video/video_driver.hpp
@@ -62,7 +62,6 @@ public:
/**
* Callback invoked after the blitter was changed.
- * This may only be called between AcquireBlitterLock and ReleaseBlitterLock.
* @return True if no error.
*/
virtual bool AfterBlitterChange()
@@ -70,18 +69,6 @@ public:
return true;
}
- /**
- * Acquire any lock(s) required to be held when changing blitters.
- * These lock(s) may not be acquired recursively.
- */
- virtual void AcquireBlitterLock() { }
-
- /**
- * Release any lock(s) required to be held when changing blitters.
- * These lock(s) may not be acquired recursively.
- */
- virtual void ReleaseBlitterLock() { }
-
virtual bool ClaimMousePointer()
{
return true;