Skip to content
Snippets Groups Projects
Unverified Commit 6d3ae747 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

linux: disable Vulkan

Some drivers seems to create weird results.

Change-Id: I9bea2c7f8fca8cd9ae6681981b2e30b2848ffeaf
GitLab: #718
parent 7ed3ec51
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@
#include <QApplication>
#include <QtWebEngineCore>
#include <QtWebEngineQuick>
#if defined(HAS_VULKAN)
#if defined(HAS_VULKAN) && !defined(Q_OS_LINUX)
#include <QVulkanInstance>
#endif
#if defined(Q_OS_MACOS)
......@@ -109,7 +109,7 @@ main(int argc, char* argv[])
}
#else
if (std::invoke([] {
#if defined(HAS_VULKAN)
#if defined(HAS_VULKAN) && !defined(Q_OS_LINUX)
QVulkanInstance inst;
inst.setLayers({"VK_LAYER_KHRONOS_validation"});
return inst.create();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment