Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions entrypoint/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,6 @@ fn main() -> Result<()> {
std::env::set_var("PYTHONHOME", pythonhome_dir()?);
std::env::set_var("PYTHONDONTWRITEBYTECODE", "1");

// This enables the Qt Rendering Hardware Interface (RHI), to reduce observed render
// glitching on Windows. You can disable this feature by setting QSG_RHI=0 in your
// environment variables.
#[cfg(target_os = "windows")]
if std::env::var("QSG_RHI").is_err() {
std::env::set_var("QSG_RHI", "1");
}

handle_splash();
let exit_code = Python::with_gil(|py| {
let args = PyTuple::new(py, args);
Expand Down
1 change: 1 addition & 0 deletions swiftnav_console/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ def handle_cli_arguments(args: argparse.Namespace, globals_: QObject):
if args.show_fileio:
globals_.setProperty("showFileio", True) # type: ignore
if args.use_opengl:
os.environ["QSG_RHI"] = "1"
os.environ["QSG_RHI_BACKEND"] = "opengl"
globals_.setProperty("useOpenGL", True) # type: ignore
if args.no_antialiasing:
Expand Down