mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
macOS: Warn if Vulkan is not supported
This commit is contained in:
parent
29a6db8960
commit
09700360f7
@ -106,6 +106,14 @@ render_creator::render_creator(QObject *parent) : QObject(parent)
|
||||
|
||||
#ifdef __APPLE__
|
||||
OpenGL.supported = false;
|
||||
|
||||
if (!Vulkan.supported)
|
||||
{
|
||||
QMessageBox::warning(nullptr,
|
||||
tr("Warning"),
|
||||
tr("Vulkan is not supported on this Mac.\n"
|
||||
"No graphics will be rendered."));
|
||||
}
|
||||
#endif
|
||||
|
||||
renderers = { &Vulkan, &OpenGL, &NullRender };
|
||||
|
Loading…
Reference in New Issue
Block a user