mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-14 18:37:27 +00: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__
|
#ifdef __APPLE__
|
||||||
OpenGL.supported = false;
|
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
|
#endif
|
||||||
|
|
||||||
renderers = { &Vulkan, &OpenGL, &NullRender };
|
renderers = { &Vulkan, &OpenGL, &NullRender };
|
||||||
|
Loading…
Reference in New Issue
Block a user