I would like to use FTGL texture fonts (FTTextureFont) to render fonts in XOR mode. The issue is that all characters are rendered as boxes (who's color is XOR-ed with the background). The calls to render the font are surrounded with:
glPushAttrib(GL_ALL_ATTRIB_BITS);
glEnable(GL_COLOR_LOGIC_OP);
glLogicOp(GL_XOR);
and
glDisable(GL_COLOR_LOGIC_OP);
glPopAttrib();
I tried disabling the depth bits glDisable(GL_DEPTH_TEST)
, but it didn't help.