From 09700360f72c5440580d83e957bb94e1202e6bd7 Mon Sep 17 00:00:00 2001 From: nastys <@a.a> Date: Mon, 10 Jan 2022 14:37:43 +0100 Subject: [PATCH] macOS: Warn if Vulkan is not supported --- rpcs3/rpcs3qt/render_creator.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rpcs3/rpcs3qt/render_creator.cpp b/rpcs3/rpcs3qt/render_creator.cpp index 1fae5ac7b4..ba6eff83aa 100644 --- a/rpcs3/rpcs3qt/render_creator.cpp +++ b/rpcs3/rpcs3qt/render_creator.cpp @@ -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 };