Skip to content
Browse files

Change the other use of ~MythRenderD3D9 to use a DecrRef()

Hopefully this will allow the windows compile to work again.
  • Loading branch information...
1 parent 18d0a1c commit 6582bbf4da1146bc36b7b210f231bf0d5dc954ce @Beirdo Beirdo committed Jun 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/videoout_d3d.cpp
View
2 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;
}
}

0 comments on commit 6582bbf

Please sign in to comment.
Something went wrong with that request. Please try again.