Skip to content
Permalink
Browse files

sc_light_remove(ENTITY* ent) added

sc_light_remove(ENTITY* ent) added. This function removes the shade-c light and frees all the memory stuff.
  • Loading branch information...
oliver2s committed Feb 6, 2014
1 parent b022478 commit 9b9095263581c088a6479d83ef62047fe09404f2
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/shadec/sc_lights.h
@@ -72,7 +72,7 @@ var sc_lights_mtlShadowmapLocalRenderEvent();

BMAP* sc_lights_mapShadowScatter64 = "sc_random.png";


void sc_light_remove(ENTITY* ent);


//--------------------------------------------------------------------------
@@ -92,4 +92,4 @@ STRING* sc_lights_sMaterialSunShadowExpand = "sc_lights_sunShadowExpand.fx";
STRING* sc_lights_sMaterialShadowmapSplit1 = "sc_lights_shadowmap.fx";
STRING* sc_lights_sMaterialShadowmapSplit2 = "sc_lights_shadowmap.fx";
STRING* sc_lights_sMaterialShadowmapSplit3 = "sc_lights_shadowmap.fx";
STRING* sc_lights_sMaterialShadowmapSplit4 = "sc_lights_shadowmap.fx";
STRING* sc_lights_sMaterialShadowmapSplit4 = "sc_lights_shadowmap.fx";

0 comments on commit 9b90952

Please sign in to comment.
You can’t perform that action at this time.