summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
Diffstat (limited to 'src/video')
-rw-r--r--src/video/allegro_v.h1
-rw-r--r--src/video/dedicated_v.h1
-rw-r--r--src/video/null_v.h1
-rw-r--r--src/video/sdl_v.h1
-rw-r--r--src/video/win32_v.h1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/video/allegro_v.h b/src/video/allegro_v.h
index d9c3a985f..2cac11dd8 100644
--- a/src/video/allegro_v.h
+++ b/src/video/allegro_v.h
@@ -27,6 +27,7 @@ public:
/* virtual */ bool ChangeResolution(int w, int h);
/* virtual */ bool ToggleFullscreen(bool fullscreen);
+ /* virtual */ const char *GetName() const { return "allegro"; }
};
class FVideoDriver_Allegro: public VideoDriverFactory<FVideoDriver_Allegro> {
diff --git a/src/video/dedicated_v.h b/src/video/dedicated_v.h
index 1f0d2cafa..7fd0c5391 100644
--- a/src/video/dedicated_v.h
+++ b/src/video/dedicated_v.h
@@ -27,6 +27,7 @@ public:
/* virtual */ bool ChangeResolution(int w, int h);
/* virtual */ bool ToggleFullscreen(bool fullscreen);
+ /* virtual */ const char *GetName() const { return "dedicated"; }
};
class FVideoDriver_Dedicated: public VideoDriverFactory<FVideoDriver_Dedicated> {
diff --git a/src/video/null_v.h b/src/video/null_v.h
index 3a8eb7298..f9329d2d6 100644
--- a/src/video/null_v.h
+++ b/src/video/null_v.h
@@ -30,6 +30,7 @@ public:
/* virtual */ bool ChangeResolution(int w, int h);
/* virtual */ bool ToggleFullscreen(bool fullscreen);
+ /* virtual */ const char *GetName() const { return "null"; }
};
class FVideoDriver_Null: public VideoDriverFactory<FVideoDriver_Null> {
diff --git a/src/video/sdl_v.h b/src/video/sdl_v.h
index 3fb6526c9..4d2faf9fe 100644
--- a/src/video/sdl_v.h
+++ b/src/video/sdl_v.h
@@ -27,6 +27,7 @@ public:
/* virtual */ bool ChangeResolution(int w, int h);
/* virtual */ bool ToggleFullscreen(bool fullscreen);
+ /* virtual */ const char *GetName() const { return "sdl"; }
};
class FVideoDriver_SDL: public VideoDriverFactory<FVideoDriver_SDL> {
diff --git a/src/video/win32_v.h b/src/video/win32_v.h
index b83051fa5..efd82671c 100644
--- a/src/video/win32_v.h
+++ b/src/video/win32_v.h
@@ -27,6 +27,7 @@ public:
/* virtual */ bool ChangeResolution(int w, int h);
/* virtual */ bool ToggleFullscreen(bool fullscreen);
+ /* virtual */ const char *GetName() const { return "win32"; }
};
class FVideoDriver_Win32: public VideoDriverFactory<FVideoDriver_Win32> {