Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

stodge

OpenGL Question about using Truetype fonts in OpenGL with SDL

This topic is 5728 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

Does anyone know if it''s possible to use Truetype fonts in OpenGL using SDL, without having to convert a surface to OpenGL format? I''m looking at the SDL_ttf package and in the OpenGL example, the Freetype library renders the text to an SDL surface. Then the code converts this surface to a specific OpenGL format. This happens every frame, which must be wasteful on CPU time. Is there a way around this? Thanks

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!