summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2019-09-27 10:43:19 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2019-09-28 08:35:59 +0200
commitd8cdf87de64dc3943632e3d58f180b60b0c52113 (patch)
tree8c75f353bd93dc4d721c33a5875167050f4dce88 /src/gui/rhi
parent401e81063fd27639e0b3eaf4b4745faa186ceeb4 (diff)
rhi: d3d11: Make tdr header private
Forgot the _p suffix. Change-Id: I48225418fd40d45020b016b59578fcc1944d15c0 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/gui/rhi')
-rw-r--r--src/gui/rhi/cs_tdr_p.h (renamed from src/gui/rhi/cs_tdr.h)18
-rw-r--r--src/gui/rhi/qrhid3d11.cpp2
2 files changed, 18 insertions, 2 deletions
diff --git a/src/gui/rhi/cs_tdr.h b/src/gui/rhi/cs_tdr_p.h
index f80cb3a498..620a4a101d 100644
--- a/src/gui/rhi/cs_tdr.h
+++ b/src/gui/rhi/cs_tdr_p.h
@@ -34,7 +34,21 @@
**
****************************************************************************/
-#include <qglobal.h>
+#ifndef CS_TDR_P_H
+#define CS_TDR_P_H
+
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists for the convenience
+// of other Qt classes. This header file may change from version to
+// version without notice, or even be removed.
+//
+// We mean it.
+//
+
+#include <QtCore/qglobal.h>
#ifdef Q_OS_WIN
@@ -207,3 +221,5 @@ const BYTE g_killDeviceByTimingOut[] =
};
#endif // Q_OS_WIN
+
+#endif // CS_TDR_P_H
diff --git a/src/gui/rhi/qrhid3d11.cpp b/src/gui/rhi/qrhid3d11.cpp
index 1d2f3cfa80..0b1822c0f5 100644
--- a/src/gui/rhi/qrhid3d11.cpp
+++ b/src/gui/rhi/qrhid3d11.cpp
@@ -36,7 +36,7 @@
#include "qrhid3d11_p_p.h"
#include "qshader_p.h"
-#include "cs_tdr.h"
+#include "cs_tdr_p.h"
#include <QWindow>
#include <QOperatingSystemVersion>
#include <qmath.h>