From d62e3027685c50a36c7237e99fd6bbc084acb450 Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Sat, 16 Jan 2021 16:43:39 +0100 Subject: Change: [Win32] Prioritize the OpenGL video driver over the GDI one. --- src/video/win32_v.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(); } }; -- cgit v1.2.3-70-g09d2