]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_main.c
Clean up GL extensions a bit to only have the stuff the engine actually uses.
[xonotic/darkplaces.git] / cl_main.c
index 8753a5ebb8f75a5f0bac8c405daaf1dc2db33165..8ee778468e0d98f3b0d3c2f6ad8be1d1c02e89fc 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -2385,7 +2385,7 @@ const char *cl_meshentitynames[NUM_MESHENTITIES] =
        "MESH_UI",
 };
 
-void CL_MeshEntities_Restart(void)
+static void CL_MeshEntities_Restart(void)
 {
        int i;
        entity_t *ent;
@@ -2396,7 +2396,7 @@ void CL_MeshEntities_Restart(void)
        }
 }
 
-void CL_MeshEntities_Init(void)
+static void CL_MeshEntities_Init(void)
 {
        int i;
        entity_t *ent;
@@ -2406,7 +2406,7 @@ void CL_MeshEntities_Init(void)
                ent->state_current.active = true;
                ent->render.model = cl_meshentitymodels + i;
                ent->render.alpha = 1;
-               ent->render.flags = RENDER_SHADOW | RENDER_LIGHT | RENDER_CUSTOMIZEDMODELLIGHT;
+               ent->render.flags = RENDER_SHADOW | RENDER_LIGHT;
                ent->render.framegroupblend[0].lerp = 1;
                ent->render.frameblend[0].lerp = 1;
                VectorSet(ent->render.colormod, 1, 1, 1);
@@ -2447,7 +2447,7 @@ void CL_MeshEntities_Reset(void)
        }
 }
 
-void CL_MeshEntities_Shutdown(void)
+static void CL_MeshEntities_Shutdown(void)
 {
 }