From 6582bbf4da1146bc36b7b210f231bf0d5dc954ce Mon Sep 17 00:00:00 2001 From: Gavin Hurlbut Date: Fri, 8 Jun 2012 16:10:02 -0700 Subject: [PATCH] Change the other use of ~MythRenderD3D9 to use a DecrRef() Hopefully this will allow the windows compile to work again. --- mythtv/libs/libmythtv/videoout_d3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythtv/libs/libmythtv/videoout_d3d.cpp b/mythtv/libs/libmythtv/videoout_d3d.cpp index 0dfde902155..ca07dc24a13 100644 --- a/mythtv/libs/libmythtv/videoout_d3d.cpp +++ b/mythtv/libs/libmythtv/videoout_d3d.cpp @@ -113,7 +113,7 @@ void VideoOutputD3D::DestroyContext(void) if (m_render) { - delete m_render; + m_render->DecrRef(); m_render = NULL; } }