diff options
author | Martijn Kaijser <machine.sanctum@gmail.com> | 2013-12-14 04:25:47 -0800 |
---|---|---|
committer | Martijn Kaijser <machine.sanctum@gmail.com> | 2013-12-14 04:25:47 -0800 |
commit | ecbc85b1637ac15c600ff5fed947267dc11756f7 (patch) | |
tree | 8618e0a57bdc9d5ddf0f8a171617967183a8d139 | |
parent | 7e22dc957d0daa400fbe0ca43198d75cae4849a2 (diff) | |
parent | 0a281568ab88e57b8b449ca13f6c4eaa402bdf38 (diff) |
Merge pull request #3826 from ace20022/init_uninit
[Renderer] Initialize member variables
-rw-r--r-- | xbmc/cores/VideoRenderers/BaseRenderer.cpp | 2 | ||||
-rw-r--r-- | xbmc/cores/VideoRenderers/WinRenderer.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/cores/VideoRenderers/BaseRenderer.cpp b/xbmc/cores/VideoRenderers/BaseRenderer.cpp index 40a2a80129..9814f53d98 100644 --- a/xbmc/cores/VideoRenderers/BaseRenderer.cpp +++ b/xbmc/cores/VideoRenderers/BaseRenderer.cpp @@ -57,6 +57,8 @@ CBaseRenderer::CBaseRenderer() m_RenderUpdateCallBackFn = NULL; m_RenderUpdateCallBackCtx = NULL; + m_RenderFeaturesCallBackFn = NULL; + m_RenderFeaturesCallBackCtx = NULL; } CBaseRenderer::~CBaseRenderer() diff --git a/xbmc/cores/VideoRenderers/WinRenderer.cpp b/xbmc/cores/VideoRenderers/WinRenderer.cpp index 525027d3b8..7c4ac0dde8 100644 --- a/xbmc/cores/VideoRenderers/WinRenderer.cpp +++ b/xbmc/cores/VideoRenderers/WinRenderer.cpp @@ -93,6 +93,7 @@ CWinRenderer::CWinRenderer() m_clearColour = 0; m_format = RENDER_FMT_NONE; m_processor = NULL; + m_neededBuffers = 0; } CWinRenderer::~CWinRenderer() |