diff options
Diffstat (limited to 'src/quick/scenegraph/qsgcontextplugin.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgcontextplugin.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgcontextplugin.cpp b/src/quick/scenegraph/qsgcontextplugin.cpp index bc5d2a0a0d..87b4ed5b8e 100644 --- a/src/quick/scenegraph/qsgcontextplugin.cpp +++ b/src/quick/scenegraph/qsgcontextplugin.cpp @@ -45,6 +45,9 @@ // Built-in adaptations #include <QtQuick/private/qsgdummyadaptation_p.h> +#ifdef QSG_D3D12 +#include <QtQuick/private/qsgd3d12adaptation_p.h> +#endif QT_BEGIN_NAMESPACE @@ -81,6 +84,9 @@ QSGAdaptionBackendData::QSGAdaptionBackendData() { // Fill in the table with the built-in adaptations. builtIns.append(new QSGDummyAdaptation); +#ifdef QSG_D3D12 + builtIns.append(new QSGD3D12Adaptation); +#endif } Q_GLOBAL_STATIC(QSGAdaptionBackendData, qsg_adaptation_data) |