There were two methods explained to me:
1. When using SDL_SetVideoMode() use the SDL_OPENGLBLIT flag with the others used for OpenGL. (Exactly how you render the text, I don''t know.)
2. Use the SDL_Surface obtained from TTF_RenderText_*() to create an OpenGL texture and putting that texture onto a quad on the screen. (This, I haven''t been able to get working either)
That''s something to think about.
This is how I use SDL text
I explained #2 in your thread, _nomad_.
edit which is here, for reference
[edited by - C-Junkie on April 28, 2004 9:00:29 PM]
edit which is here, for reference
[edited by - C-Junkie on April 28, 2004 9:00:29 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement