Original Post
Hey there! I've got some problems with lost devices. Whenever the D3D device is lost, this code is looped through: Then, after the device is reset, this loop is called: ...and I go on with the normal gameloop. All 'prints' are drawn as they should, except for one that says "increasing". Only the last two letters 'n' and 'g' are shown. I'm guessing this has something to do with the lost device. The weird thing is that other prints, called with the exact same font, on the exact same manner, print perfectly fine! Can someone give me a direction to the source of the problem? - Stijn
// given: std::vector<LPD3DXFONT>
for(UINT i=0; i<m_pFonts.size(); i++)
{
m_pFonts->OnLostDevice();
}
for(UINT i=0; i<m_pFonts.size(); i++)
{
m_pFonts->OnResetDevice();
}