- 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.
This commit is contained in:
Christoph Oelckers 2018-11-01 09:43:11 +01:00
parent 9df7ce1f9a
commit f7ce4dd2da

View file

@ -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. // 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) EXTERN_CVAR(Bool, r_blendmethod)