@Override
public void getLaunchArgument(LaunchConfig config, VMProperty property)
throws VMWorkerException {
- String rendering = null;
- if (!EmulatorManager.isMac()
- && property.getConfiguration().getUsability().isHwGLAcceleration()) {
- rendering = "onscreen";
- } else {
- rendering = "offscreen";
+ if (checkOn(property.getPropertyValue().getAdvancedOptionSubValue(
+ "displayMode", "qtEnable"))) {
+
+ String rendering = null;
+ if (!EmulatorManager.isMac()
+ && property.getConfiguration().getUsability().isHwGLAcceleration()) {
+ rendering = "onscreen";
+
+ } else {
+ rendering = "offscreen";
+ }
+ config.addQemuOption("-display", "maru_qt,rendering=" + rendering);
}
- config.addQemuOption("-display", "maru_qt,rendering=" + rendering);
+
}
}