summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fe2fc29)
Since they're stored in resources, it's not appropriate to delete them
outside of it.
extra_spec["use_shadow_map"] = true;
shprog = material->create_compatible_shader(extra_spec);
extra_spec["use_shadow_map"] = true;
shprog = material->create_compatible_shader(extra_spec);
if(shdata)
shdata = new ProgramData(*shdata, shprog.get());
if(shdata)
shdata = new ProgramData(*shdata, shprog.get());