diff options
Diffstat (limited to 'map/coverage_generator.cpp')
-rw-r--r-- | map/coverage_generator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/coverage_generator.cpp b/map/coverage_generator.cpp index 75541ac37d..fe73664a56 100644 --- a/map/coverage_generator.cpp +++ b/map/coverage_generator.cpp @@ -39,7 +39,7 @@ CoverageGenerator::CoverageGenerator( m_resourceManager = rm; if (!m_glQueue) - m_renderContext = primaryRC->createShared(); + m_renderContext.reset(primaryRC->createShared()); m_queue.AddInitCommand(bind(&CoverageGenerator::InitializeThreadGL, this)); m_queue.AddFinCommand(bind(&CoverageGenerator::FinalizeThreadGL, this)); |