From f7ce4dd2da356ac720682d03f51c851ec0951920 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 1 Nov 2018 09:43:11 +0100 Subject: [PATCH] - added fake vid_renderer CVAR so that mods that checked for it to determine the renderer will get 1 returned instead of 0. The majority of mods which did such a thing checked for the hardware renderer so this should be the default. --- src/v_video.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v_video.cpp b/src/v_video.cpp index 19d24297d..c94f141d2 100644 --- a/src/v_video.cpp +++ b/src/v_video.cpp @@ -103,6 +103,7 @@ CUSTOM_CVAR(Int, vid_rendermode, 4, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOIN // No further checks needed. All this changes now is which scene drawer the render backend calls. } +CVAR(Int, vid_renderer, 1, 0) // for some stupid mods which threw caution out of the window... EXTERN_CVAR(Bool, r_blendmethod)