From f81c71e15b04bcf6202d27242af9e3803b439191 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 2 Mar 2021 14:10:39 +0000 Subject: [PATCH] OpenGL: Temporarily reduce OpenGL driver priorities --- src/video/sdl2_default_v.h | 2 +- src/video/sdl2_opengl_v.h | 2 +- src/video/win32_v.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/video/sdl2_default_v.h b/src/video/sdl2_default_v.h index 1b67be5d39..4b397f27ea 100644 --- a/src/video/sdl2_default_v.h +++ b/src/video/sdl2_default_v.h @@ -33,7 +33,7 @@ private: /** Factory for the SDL video driver. */ class FVideoDriver_SDL_Default : public DriverFactoryBase { public: - FVideoDriver_SDL_Default() : DriverFactoryBase(Driver::DT_VIDEO, 5, "sdl", "SDL Video Driver") {} + FVideoDriver_SDL_Default() : DriverFactoryBase(Driver::DT_VIDEO, 8, "sdl", "SDL Video Driver") {} Driver *CreateInstance() const override { return new VideoDriver_SDL_Default(); } }; diff --git a/src/video/sdl2_opengl_v.h b/src/video/sdl2_opengl_v.h index a59233db6d..60311791b1 100644 --- a/src/video/sdl2_opengl_v.h +++ b/src/video/sdl2_opengl_v.h @@ -49,6 +49,6 @@ private: /** The factory for SDL' OpenGL video driver. */ class FVideoDriver_SDL_OpenGL : public DriverFactoryBase { public: - FVideoDriver_SDL_OpenGL() : DriverFactoryBase(Driver::DT_VIDEO, 8, "sdl-opengl", "SDL OpenGL Video Driver") {} + FVideoDriver_SDL_OpenGL() : DriverFactoryBase(Driver::DT_VIDEO, 7, "sdl-opengl", "SDL OpenGL Video Driver") {} /* virtual */ Driver *CreateInstance() const override { return new VideoDriver_SDL_OpenGL(); } }; diff --git a/src/video/win32_v.h b/src/video/win32_v.h index ed1957e234..a3982a3825 100644 --- a/src/video/win32_v.h +++ b/src/video/win32_v.h @@ -177,7 +177,7 @@ protected: /** The factory for Windows' OpenGL video driver. */ class FVideoDriver_Win32OpenGL : public DriverFactoryBase { public: - FVideoDriver_Win32OpenGL() : DriverFactoryBase(Driver::DT_VIDEO, 10, "win32-opengl", "Win32 OpenGL Video Driver") {} + FVideoDriver_Win32OpenGL() : DriverFactoryBase(Driver::DT_VIDEO, 8, "win32-opengl", "Win32 OpenGL Video Driver") {} /* virtual */ Driver *CreateInstance() const override { return new VideoDriver_Win32OpenGL(); } };