Using SDL_ttf with opengl

Started by
0 comments, last by brulle 18 years, 5 months ago
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
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]

This topic is closed to new replies.

Advertisement