diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-01-16 16:43:25 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-22 22:16:07 +0100 |
commit | e8fc050b6eebddaadf10563c3764ee455687559d (patch) | |
tree | d55490546e66f56ac85fcc7ce64842d8c93b9def /src/video/video_driver.hpp | |
parent | 320072c8dc03d651f8278a41fc09346c8ed5a174 (diff) | |
download | openttd-e8fc050b6eebddaadf10563c3764ee455687559d.tar.xz |
Add: [OpenGL] Support for 8bpp blitters.
Diffstat (limited to 'src/video/video_driver.hpp')
-rw-r--r-- | src/video/video_driver.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp index cc74df202..57945862a 100644 --- a/src/video/video_driver.hpp +++ b/src/video/video_driver.hpp @@ -99,6 +99,15 @@ public: } /** + * Has this video driver an efficient code path for palette animated 8-bpp sprites? + * @return True if the driver has an efficient code path for 8-bpp. + */ + virtual bool HasEfficient8Bpp() const + { + return false; + } + + /** * An edit box lost the input focus. Abort character compositing if necessary. */ virtual void EditBoxLostFocus() {} |