CPW Font weirdness

Whenever I display a string through either cpwDrawFont or cpwDrawBufferedFont, the text will stay onscreen for a few seconds then blink out. The piece of code that is being called to render the font is still being called, and the string to render is still there also… it just doesn’t show onscreen (although every other rendered object is). Any ideas?

Maybe you could post some code? I’ve never seen this type of thing happen. The font routine cpwDrawFont uses glDrawPixels for writing into the frame buffer. cpwDrawBufferedFont gives you a buffer so you control how it is written to the scene.


Heh, never mind, I realised I was initialising the fonts before I had initialised cpw completely, seems to work okay now.