summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-01-16 16:43:39 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-22 22:16:07 +0100
commitd62e3027685c50a36c7237e99fd6bbc084acb450 (patch)
treeb637bc8afbf658c11c72d8734a1e4ba840f20d66 /src
parent6bcc4884c20a15b0e627f88ad2bca766a8914377 (diff)
downloadopenttd-d62e3027685c50a36c7237e99fd6bbc084acb450.tar.xz
Change: [Win32] Prioritize the OpenGL video driver over the GDI one.
Diffstat (limited to 'src')
-rw-r--r--src/video/win32_v.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video/win32_v.h b/src/video/win32_v.h
index ecce318f0..20cb61d5e 100644
--- a/src/video/win32_v.h
+++ b/src/video/win32_v.h
@@ -119,7 +119,7 @@ public:
/** The factory for Windows' video driver. */
class FVideoDriver_Win32GDI : public DriverFactoryBase {
public:
- FVideoDriver_Win32GDI() : DriverFactoryBase(Driver::DT_VIDEO, 10, "win32", "Win32 GDI Video Driver") {}
+ FVideoDriver_Win32GDI() : DriverFactoryBase(Driver::DT_VIDEO, 9, "win32", "Win32 GDI Video Driver") {}
Driver *CreateInstance() const override { return new VideoDriver_Win32GDI(); }
};
@@ -168,7 +168,7 @@ protected:
/** The factory for Windows' OpenGL video driver. */
class FVideoDriver_Win32OpenGL : public DriverFactoryBase {
public:
- FVideoDriver_Win32OpenGL() : DriverFactoryBase(Driver::DT_VIDEO, 9, "win32-opengl", "Win32 OpenGL Video Driver") {}
+ FVideoDriver_Win32OpenGL() : DriverFactoryBase(Driver::DT_VIDEO, 10, "win32-opengl", "Win32 OpenGL Video Driver") {}
/* virtual */ Driver *CreateInstance() const override { return new VideoDriver_Win32OpenGL(); }
};