#include <msp/fs/utils.h>
#include <msp/strings/format.h>
#include "material.h"
-#include "program.h"
#include "programdata.h"
-#include "tag.h"
#include "technique.h"
#include "texture.h"
if(!new_shdata)
new_shdata = new ProgramData(*kvp.second.get_shader_data());
- new_shdata->uniform(tag, shdata.get_uniform(t));
+ new_shdata->copy_uniform(shdata, tag);
replaced = true;
}