multiple ID3DXFonts?
Hi, I want to make a couple fonts for my game, but when I try to DrawText with more than one it gives me a memory not referenced error.
Hrm. That works for me. Or rather, I've called D3DXCreateFont twice [two different sizes for the same font] and they both render properly.
I use D3DXCreateFontIndirect, and for the D3DXCreateFont what is the HFONT for the second param I cant find it on msdn.
It shouldn't matter whether you use D3DXCreateFontIndirect or D3DXCreateFont.
The MSDN search leaves a lot to be desired. Try searching for CreateFont, it's a GDI call.
The MSDN search leaves a lot to be desired. Try searching for CreateFont, it's a GDI call.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement