Hello,
I'm still having problems with displaying text using ID3DXFont. I keep getting error code -858993460, which doesn't correspond to anything in DX error lookup.
I changed things and recoded it, but I'm still having the same problem. Here it is:
hr = D3DXCreateFont(m_pD3DDevice, 50, 25, 500, 1, false, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Times New Roman", &m_pFont);
I'm pretty sure it is an invalid parameter. I know it is a valid device, because I do other stuff before this with the device, and it works with them. It can't out of memory because I control-alt-delete it and it says I still have 30mb of free ram.
I'm sure you use ID3DXFont. If not, is it a bad thing. In the latest SDK, they use textured quads, right? So, it must be relatively fast?
Thanks for your help, I owe this website alot.
ProgrammingNerd
[edit] I checked all of the debug info. I get nothing. And yes, I compiled with d3dx9d.lib.