whit (11-23-2010)
That code was origionally mmbob's for recreating the font. Im sure you just changed it to the sprite
my little simple function i made it into /Code:void ReCreate(LPDIRECT3DDEVICE9 pDevice) { if (g_pDevice != pDevice) { g_pDevice = pDevice; try { if (pFont != 0) pFont->Release(); } catch (...) {} pFont = 0; D3DXCreateFont(pDevice, 12, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &pFont); } }
whit (11-23-2010)
ac1d_buRn (11-24-2010)
[MPGH]AVGN (11-24-2010)
oh yea? and how did you figure out that try catch method?
let me guess you got it from whits base all you did was change it to recreate sprites. and where do you think whit got the original code from?
and I didn't flame you, Rage did but he flames everyone and sometimes inanimate objects as well.