diff options
Diffstat (limited to 'src/video/video_driver.hpp')
-rw-r--r-- | src/video/video_driver.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp index 74bb20f4c..0b5c6f6fd 100644 --- a/src/video/video_driver.hpp +++ b/src/video/video_driver.hpp @@ -122,6 +122,24 @@ public: } /** + * Does this video driver support a separate animation buffer in addition to the colour buffer? + * @return True if a separate animation buffer is supported. + */ + virtual bool HasAnimBuffer() + { + return false; + } + + /** + * Get a pointer to the animation buffer of the video back-end. + * @return Pointer to the buffer or nullptr if no animation buffer is supported. + */ + virtual uint8 *GetAnimBuffer() + { + return nullptr; + } + + /** * An edit box lost the input focus. Abort character compositing if necessary. */ virtual void EditBoxLostFocus() {} |