Skip to content
Open
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
9 changes: 8 additions & 1 deletion qemu-components/display/src/display.cc
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,14 @@ display::display(const sc_core::sc_module_name& _name, sc_core::sc_object* o)
// Use QEMU's integrated display only if we are NOT on MacOS.
// On MacOS use libqbox's display SystemC module.
QemuDevice* gpu = (dynamic_cast<QemuDevice*>(o));
gpu->get_qemu_inst().set_display_arg("sdl,gl=on");
std::string display_params("sdl");
#ifdef _WIN32
display_params += ",gl=off";
#else
display_params += ",gl=on";
#endif
gpu->get_qemu_inst().set_display_arg(display_params);
SCP_INFO(SCMOD) << "display: request backend: " << display_params;
#endif
}

Expand Down