summaryrefslogtreecommitdiff
path: root/src/video/video_driver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/video_driver.hpp')
-rw-r--r--src/video/video_driver.hpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp
index d8249b1f7..3a3b4c79e 100644
--- a/src/video/video_driver.hpp
+++ b/src/video/video_driver.hpp
@@ -80,25 +80,6 @@ public:
virtual void EditBoxLostFocus() {}
};
-/** Base of the factory for the video drivers. */
-class VideoDriverFactoryBase: public DriverFactoryBase {
-};
-
-/**
- * Factory for the video drivers.
- * @tparam T The type of the video factory to register.
- */
-template <class T>
-class VideoDriverFactory: public VideoDriverFactoryBase {
-public:
- VideoDriverFactory() { this->RegisterDriver(((T *)this)->GetName(), Driver::DT_VIDEO, ((T *)this)->priority); }
-
- /**
- * Get the long, human readable, name for the Driver-class.
- */
- const char *GetName();
-};
-
extern VideoDriver *_video_driver;
extern char *_ini_videodriver;
extern int _num_resolutions;