From d8cdf87de64dc3943632e3d58f180b60b0c52113 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Fri, 27 Sep 2019 10:43:19 +0200 Subject: [PATCH] rhi: d3d11: Make tdr header private MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Forgot the _p suffix. Change-Id: I48225418fd40d45020b016b59578fcc1944d15c0 Reviewed-by: Christian Strømme --- src/gui/rhi/{cs_tdr.h => cs_tdr_p.h} | 18 +++++++++++++++++- src/gui/rhi/qrhid3d11.cpp | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) rename src/gui/rhi/{cs_tdr.h => cs_tdr_p.h} (95%) diff --git a/src/gui/rhi/cs_tdr.h b/src/gui/rhi/cs_tdr_p.h similarity index 95% rename from src/gui/rhi/cs_tdr.h rename to 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 +#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 #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 #include #include