• Advertisement
Sign in to follow this  

Using SDL_ttf with opengl

This topic is 4510 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, Can anyone tell me how to use SDL_ttf to draw fonts on the screen while using OpenGL? I couldn't find any documentation for this on the net. Thanks

Share this post


Link to post
Share on other sites
Advertisement
SDL_ttf renders into a SDL_surface. You will then have to use this surface as a GL texture or simply draw it using glDrawPixels.

Have a look at this thread.

[Edited by - brulle on October 22, 2005 4:59:00 AM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement