[SDL] SDL2 + OpenGL+ SDL_ttf and rendering text question
Trev
trevor at lackeyccg.com
Sat May 26 05:39:03 PDT 2012
Chris Bush wrote:
> Oh, yes... the function could be improved in many ways. However, you could just use glColor4f(r, g, b, a); prior to calling the write_left_aligned function. The color will be as set without needing to reload the textures.
I tried my hand at making the code more easy to use. I appreciate suggestions for improvement.
http://forums.libsdl.org/viewtopic.php?t=8194
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20120526/431e2601/attachment.htm>
More information about the SDL
mailing list