Issue Uninstalling plugin: D3D11 RenderSystem

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Post Reply
Nickak2003
Goblin
Posts: 272
Joined: Thu Jun 10, 2004 4:19 am
x 26

Issue Uninstalling plugin: D3D11 RenderSystem

Post by Nickak2003 »

When I run my program in windowed mode, debug or release, it is able to exit fine. However, when it is fullscreen, the exit crashes when ogre is trying to unload d3d11.
The ogre log file stops here:

Uninstalling plugin: D3D11 RenderSystem

in debug mode, it breaks here:

//Ogred3d11device.cpp:60
void D3D11Device::ReleaseAll()
{
// Clear state
if (mImmediateContext)
{
mImmediateContext->ClearState();
mImmediateContext->Flush();
}
#if OGRE_D3D11_PROFILING || OGRE_DEBUG_MODE >= OGRE_DEBUG_MEDIUM
mPerf.Reset(); <<-break
#endif

What could the issue be?

Post Reply