diff options
-rw-r--r-- | xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.cpp | 5 | ||||
-rw-r--r-- | xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.cpp b/xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.cpp index f6ed0ecca8..6ba5fd96e1 100644 --- a/xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.cpp +++ b/xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.cpp @@ -19,6 +19,8 @@ * */ +#ifdef HAS_DX + #include "WinVideoFilter.h" #include "WindowingFactory.h" #include "../../../utils/log.h" @@ -27,6 +29,7 @@ #include "ConvolutionKernels.h" #include "YUV2RGBShader.h" + CYUV2RGBMatrix::CYUV2RGBMatrix() { m_NeedRecalc = true; @@ -494,3 +497,5 @@ bool CTestShader::Create() } return true; } + +#endif diff --git a/xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.h b/xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.h index f2b200d5c0..ec31c8c462 100644 --- a/xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.h +++ b/xbmc/cores/VideoRenderers/VideoShaders/WinVideoFilter.h @@ -21,6 +21,8 @@ * */ +#ifdef HAS_DX + #include "../../guilib/Geometry.h" #include "../WinRenderer.h" @@ -141,3 +143,5 @@ class CTestShader : public CWinShader public: virtual bool Create(); }; + +#endif |