diff options
author | crystalpt <crystalpt@svn> | 2010-08-05 02:15:10 +0000 |
---|---|---|
committer | crystalpt <crystalpt@svn> | 2010-08-05 02:15:10 +0000 |
commit | ad190e17976a517493e18f9043f26352c28c25c8 (patch) | |
tree | 0615c8bfa8db3cbe06063610782796882eb839aa | |
parent | 292451ca47c59142017f43a6182799ba8d2448ac (diff) |
[WIN32] fixed: GL build
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32507 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-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 |