]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.c
removed support for r_ser (also known as R_Clip or "Hidden Surface Removal") as it...
[xonotic/darkplaces.git] / model_brush.c
index feab7d7e0e7817821874eb211da7e09e99047b46..c5c8336d2c96120fabbd77088ebeee69372d7b24 100644 (file)
@@ -49,11 +49,6 @@ void Mod_BrushInit (void)
        memset(mod_novis, 0xff, sizeof(mod_novis));
 }
 
-void Mod_Brush_SERAddEntity(void)
-{
-       R_Clip_AddBox(currentrenderentity->mins, currentrenderentity->maxs, R_Entity_Callback, currentrenderentity, NULL);
-}
-
 /*
 ===============
 Mod_PointInLeaf
@@ -2522,7 +2517,6 @@ void Mod_LoadBrushModel (model_t *mod, void *buffer)
 
                mod->numleafs = bm->visleafs;
 
-               mod->SERAddEntity = Mod_Brush_SERAddEntity;
                mod->Draw = R_DrawBrushModelNormal;
                mod->DrawShadow = NULL;