[SDL] SDL2 + OpenGL+ SDL_ttf and rendering text question
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL