AWorkspace->SetTextParam(&myParam);
- GLboolean blend_state = GL_FALSE;
GLdouble modelMatrix[16], projMatrix[16];
GLint viewport[4];
GLdouble objrefX, objrefY, objrefZ;
switch (aspect_text->DisplayType())
{
case Aspect_TODT_BLEND:
- blend_state = glIsEnabled(GL_BLEND);
- if (!blend_state) glEnable(GL_BLEND);
glEnable(GL_COLOR_LOGIC_OP);
glLogicOp(GL_XOR);
break;
if (flag_zbuffer) glEnable(GL_DEPTH_TEST);
if (aspect_text->DisplayType() == Aspect_TODT_BLEND)
{
- if (!blend_state) glDisable(GL_BLEND);
glDisable(GL_COLOR_LOGIC_OP);
}
}