   SDL_TTF font open gl blending issue...
  I've been working on a program similar to the example presented on the nehe site:http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=17Basically, in his program, nehe loads an image file that's basically a sheet containing each ascii character, generates a series of quads that each map to texture coordinates within the sheet, and sets up display lists to generate each of the quads for each of the font characters.  This allows him to sequentially call the display lists to render a string of text.I was writing a program that instead uses the SDL_TTF library to render each of the characters to a sheet, pass the sheet's SDL_Surface struct to open gl for use as a texture, then generate the necessary quads and display lists to render the text.I've got it rendering text fine.  However, the problems arise when I try to use Ortho2D with blending, to have 2D text overlay the scene.  I cannot get solid text to appear that properly overlays the scene.These are some screenshots of the problem.  Note that I've since added the glDepthMask(GL_TRUE) statement that I had forgotten:Image 1:TTF_RenderText_Blended in front of black polygon.Note: When I added the glDepthMask(GL_TRUE), I simply had invisible text with no gray box here:http://tinypic.com/r/4rqoh0/5Image 2:TTF_RenderText_Blended in front of both in-scene-text and gray backgroundhttp://tinypic.com/r/15oi2c6/5Image 3:TTF_RenderText_Shaded in front of gray backgroundhttp://tinypic.com/r/hun69e/5Image 4:TTF_RenderText_Shaded in front of black polygonhttp://tinypic.com/r/16atstx/5Image 5:TTF_RenderText_Shaded in front of _in-scene-texthttp://tinypic.com/r/2hqa5qo/5Image 6:Full view of the in-scene-texthttp://tinypic.com/r/359n7uv/5Here's the relevant code:Code to set up open gl textures and display lists;code to generate in-scene text;code to generate ortho2d overlaying text::::http://dataheadsfontblendingissue.pastebin.com/m6dee606dCode to generate SDL Font Sheet - renders each ascii character with TTF,blits them to main sheet surfacehttp://dataheadsfontblendingissue.pastebin.com/m3a149e29Code to generate empty sdl rgb surfacehttp://dataheadsfontblendingissue.pastebin.com/m76887541Man this problem has been driving me NUTS...   