diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-01-16 16:43:39 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-22 22:16:07 +0100 |
commit | d62e3027685c50a36c7237e99fd6bbc084acb450 (patch) | |
tree | b637bc8afbf658c11c72d8734a1e4ba840f20d66 | |
parent | 6bcc4884c20a15b0e627f88ad2bca766a8914377 (diff) | |
download | openttd-d62e3027685c50a36c7237e99fd6bbc084acb450.tar.xz |
Change: [Win32] Prioritize the OpenGL video driver over the GDI one.
-rw-r--r-- | src/video/win32_v.h | 4 |
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(); } }; |