summaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/rendernode/d3d12renderer.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2016-10-11 13:23:05 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2016-10-11 12:25:24 +0000
commite27fa6e2b5376e68926bd5bdf70cdb0feba6e09e (patch)
treeadb19db208ca76003ac70206e68ad8c0390b22cc /examples/quick/scenegraph/rendernode/d3d12renderer.h
parent60c4810c73e41e3c4b930206b9f0a5c56a2b9026 (diff)
Use d3d12 feature in rendernode example
Migrate the example away from config_d3d12 and make the feature public. Task-number: QTBUG-56327 Change-Id: I88809b8c41282cd75952d085cfd539a5d80f3f38 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/rendernode/d3d12renderer.h')
-rw-r--r--examples/quick/scenegraph/rendernode/d3d12renderer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/scenegraph/rendernode/d3d12renderer.h b/examples/quick/scenegraph/rendernode/d3d12renderer.h
index f13a1d451c..1d2726819f 100644
--- a/examples/quick/scenegraph/rendernode/d3d12renderer.h
+++ b/examples/quick/scenegraph/rendernode/d3d12renderer.h
@@ -43,7 +43,7 @@
#include <qsgrendernode.h>
-#ifdef HAS_D3D12
+#if QT_CONFIG(d3d12)
class QQuickItem;
@@ -77,6 +77,6 @@ private:
quint8 *cbPtr = nullptr;
};
-#endif // HAS_D3D12
+#endif // d3d12
#endif