From 297b340697e41e0e20cd4240f807a98c2eca7de3 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 16 Mar 2021 16:04:50 +0000 Subject: [PATCH] Revert "OpenGL: Temporarily reduce OpenGL driver priorities" This reverts commit f81c71e15b04bcf6202d27242af9e3803b439191. --- 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 4b397f27ea..1b67be5d39 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, 8, "sdl", "SDL Video Driver") {} + FVideoDriver_SDL_Default() : DriverFactoryBase(Driver::DT_VIDEO, 5, "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 60311791b1..a59233db6d 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, 7, "sdl-opengl", "SDL OpenGL Video Driver") {} + FVideoDriver_SDL_OpenGL() : DriverFactoryBase(Driver::DT_VIDEO, 8, "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 a3982a3825..ed1957e234 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, 8, "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(); } };