---------
fullbright
if(pstudio->GetCurrentEntity())
{
cl_entity_s *ent=pstudio->GetCurrentEntity();
if(cvar.fullbright) {
if(!ent->player)ent->curstate.rendermode=kRenderGlow;}
}
---------------------
wire frame
if( mode==GL_POLYGON){
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
glLineWidth(1);
glColor3f(1.0f, 1.0f, 1.0f);
}
else
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);