Question about using Truetype fonts in OpenGL with SDL
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement