Jump to content
Posted 16 January 2012 - 01:44 AM
Posted 16 January 2012 - 05:44 AM
Senior Systems Programmer
Posted 16 January 2012 - 07:57 AM
It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.
Posted 16 January 2012 - 11:19 AM
Most likely cause is that you used GetSurfaceLevel (or GetBackBuffer/GetRenderTarget) but neglected to Release the returned surface afterwards.
A second possibility is that you have some D3DX objects - Sprite, Font or Effect are candidates here - which you haven't called OnLostDevice on.