Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnderground78 <underground78@users.sourceforge.net>2011-08-09 02:22:25 +0400
committerUnderground78 <underground78@users.sourceforge.net>2011-08-09 02:22:25 +0400
commit7724b3eab28539cb823854639a601711b1ed3b41 (patch)
tree9758a359dfcc53fd8e0e74de521d55257406b496 /src/filters/renderer/VideoRenderers
parentc924a9ad60d553ad3f825495de4d34ab84919ddf (diff)
Warning fixes:
- C4800: forcing value to bool 'true' or 'false'. - C4200: zero-sized array in struct/union. - double/float casts. Patch partially by XhmikosR. This commit fixes ticket #1625. git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3618 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/renderer/VideoRenderers')
-rw-r--r--src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp b/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp
index b9907d4ee..ddf9b77a2 100644
--- a/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp
+++ b/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp
@@ -768,7 +768,7 @@ HRESULT CDX9AllocatorPresenter::CreateDevice(CString &_Error)
m_pDwmIsCompositionEnabled(&bCompositionEnabled);
}
- m_bCompositionEnabled = bCompositionEnabled;
+ m_bCompositionEnabled = !!bCompositionEnabled;
m_bAlternativeVSync = s.m_RenderSettings.fVMR9AlterativeVSync;
// detect FP textures support