View Full Version : CPW Font weirdness
02-21-2002, 09:40 PM
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?
02-22-2002, 06:46 AM
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.
02-25-2002, 09:45 PM
Heh, never mind, I realised I was initialising the fonts before I had initialised cpw completely, seems to work okay now.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.