overlay: option to force software renderer in configurator (#721)

## Link to GitHub Issue or related Pull Request, if one exists
chicken bit for #720
This commit is contained in:
bicarus
2026-05-30 15:24:07 -07:00
committed by GitHub
parent 4c73200f58
commit 7ee04879e2
5 changed files with 20 additions and 0 deletions
+5
View File
@@ -9,6 +9,7 @@ namespace cfg {
// globals
bool CONFIGURATOR_STANDALONE = false;
bool CONFIGURATOR_FORCE_SOFTWARE_RENDER = false;
ConfigType CONFIGURATOR_TYPE = ConfigType::Config;
Configurator::Configurator() {
@@ -26,6 +27,10 @@ namespace cfg {
// that environments without D3D9 (Wine without dxvk, headless test boxes,
// GPUs whose drivers reject HAL) still get a working configurator.
static bool try_init_d3d9(ConfiguratorWindow &wnd) {
if (cfg::CONFIGURATOR_FORCE_SOFTWARE_RENDER) {
return false;
}
if (wnd.hWnd == nullptr) {
return false;
}
+1
View File
@@ -11,6 +11,7 @@ namespace cfg {
// globals
extern bool CONFIGURATOR_STANDALONE;
extern ConfigType CONFIGURATOR_TYPE;
extern bool CONFIGURATOR_FORCE_SOFTWARE_RENDER;
class Configurator {
private: