1
0
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:
nastys 2022-01-10 14:37:43 +01:00 committed by Ivan
parent 29a6db8960
commit 09700360f7

View File

@ -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 };