weixin_39595487 2020-11-30 00:55
浏览 0

[OGRE-150] DX9 RS Bug: destroying the dummy render window breaks almost all geometry

[reporter="xavyiy", created="Fri, 22 Feb 2013 16:56:51 +0100"]

This is a big problem since in the Ogre3d DX9 RS you need to destroy the dummy render window before switching to fullscreen any other existent render window (otherwise you get a swap chain expection). (More info: http://www.ogre3d.org/forums/viewtopic.php?f=4&t=58142#p392888 )

The problem seems to be here since Ogre 1.8, I'm sure it worked in 1.7...

I've attached a .cpp which shows the problem, comment the line #136, mRoot->destroyRenderTarget(mWindow), in order to see how it should look!

Hope it's going to be an easy bug to catch!

该提问来源于开源项目:OGRECave/ogre

  • 写回答

14条回答 默认 最新

  • weixin_39595487 2020-11-30 00:55
    关注

    [author="xavyiy", created="Fri, 22 Feb 2013 17:03:56 +0100"]

    New version of main.cpp, now the line containing mRoot->destroyRenderTarget(mWindow); is the #94

    评论

报告相同问题?