Lol, theres actually a TUT to fix gellins base from disappearing.
Use The Search Button mmbob release Some Code Recreate The font
whit (08-16-2010)
Credits to mmbob.
Code:void ReFont(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); } }
^ It's alright dude i forgot to mention i fixed it by using mmbob's method already.
Thanks for taking your time and helping though.
/Request Close.
Can Help Me On How To Change It Heres My Code -
void cBase::RenderFrame(LPDIRECT3DDEVICE9 pDevice)
{
if( !Base.bSet.bInit )
{
D3DXCreateFont(pDevice, 15, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Arial", &Directx.pFont);
Base.bSet.bInit = true;
}
if( Directx.pFont == NULL )
Directx.pFont->OnLostDevice();
else
{
Directx.DrawString(10, 22, D3DCOLOR_ARGB(255, 255, 0, 0), Directx.pFont, "MPGH.NET");
Menu.RenderMenu();
}