summaryrefslogtreecommitdiffstats
path: root/o3d/plugin/mac/config_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/plugin/mac/config_mac.mm')
-rw-r--r--o3d/plugin/mac/config_mac.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/o3d/plugin/mac/config_mac.mm b/o3d/plugin/mac/config_mac.mm
index ec304da..eb995298 100644
--- a/o3d/plugin/mac/config_mac.mm
+++ b/o3d/plugin/mac/config_mac.mm
@@ -41,6 +41,7 @@
#include <iostream>
#include <fstream>
+#include "core/cross/renderer.h"
#include "plugin/cross/config.h"
#include "plugin/cross/plugin_metrics.h"
#include "plugin_mac.h"
@@ -186,7 +187,7 @@ bool UseSoftwareRenderer() {
is_initialized = true;
}
- return use_software_renderer;
+ return use_software_renderer || Renderer::IsForceSoftwareRenderer();
}
static bool GetVideoCardMetrics(CGDirectDisplayID displayID) {