model_t *model;
qbyte *pvs;
static int markframe = 0;
- qglEnable(GL_POLYGON_OFFSET_FILL);
R_Mesh_Matrix(&ent->matrix);
model = ent->model;
if (r_drawcollisionbrushes.integer < 2)
GL_DepthMask(false);
GL_DepthTest(true);
R_Mesh_State_Texture(&m);
- qglPolygonOffset(1.0f, r_drawcollisionbrushes_polygonoffset.value);
for (i = 0;i < model->brushq3.data_thismodel->numbrushes;i++)
if (model->brushq3.data_thismodel->firstbrush[i].colbrushf && model->brushq3.data_thismodel->firstbrush[i].colbrushf->numtriangles)
R_DrawCollisionBrush(model->brushq3.data_thismodel->firstbrush[i].colbrushf);
}
- qglDisable(GL_POLYGON_OFFSET_FILL);
}
/*