[D3D9] Access violations after host window resize.

Create issue
Issue #337 resolved
Paul Turner created an issue

Under specificcircumstances, resizing the host app window can cause the D3D9 renderer module to issue access violation exceptions.

Further details and specifics of reproduction are here: http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=4681

Reproducibility: always

Comments (2)

  1. Paul Turner reporter

    This is now confirmed as a CEGUIBase issue rather than a D3D9 renderer issues.

    In CEGUI::RenderingWindow the cached geometry (and pointer to IDirect3D9Texture) is not cleared in response to the host window size changing, and it's that dangling pointer that causes the issue.

    Fix is very simple, but various possible approaches exist. Will evaluate and fix...

  2. Log in to comment