diff options
Diffstat (limited to 'src/driver.h')
-rw-r--r-- | src/driver.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/driver.h b/src/driver.h index 68d9fac92..93aaf6155 100644 --- a/src/driver.h +++ b/src/driver.h @@ -107,6 +107,15 @@ protected: virtual ~DriverFactoryBase(); + /** + * Does the driver use hardware acceleration (video-drivers only). + * @return True if the driver uses hardware acceleration. + */ + virtual bool UsesHardwareAcceleration() const + { + return false; + } + public: /** * Shuts down all active drivers |