mirror of https://github.com/PCSX2/pcsx2.git
Qt: Display a slightly more helpful error on display create failure
This commit is contained in:
parent
b484f7aef0
commit
e91f9925f8
|
@ -2154,7 +2154,10 @@ DisplayWidget* MainWindow::createDisplay(bool fullscreen, bool render_to_main)
|
|||
|
||||
if (!g_host_display->CreateDevice(wi.value(), Host::GetEffectiveVSyncMode()))
|
||||
{
|
||||
QMessageBox::critical(this, tr("Error"), tr("Failed to create host display device context."));
|
||||
QMessageBox::critical(this, tr("Error"),
|
||||
tr("Failed to create host display device. This may be due to your GPU not supporting the chosen renderer (%1), or because your "
|
||||
"graphics drivers need to be updated.")
|
||||
.arg(QString::fromUtf8(Pcsx2Config::GSOptions::GetRendererName(EmuConfig.GS.Renderer))));
|
||||
destroyDisplayWidget(true);
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue