X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect.cpp;fp=effect.cpp;h=3446b42c05baab5553ae83f71c69d6ef8467774f;hp=9a30b93d2dc2ac03364f03107915aa5aec143fe2;hb=0c821b2eb013de712041d2b337612b9a6297695f;hpb=f907b7bebd1085805d93124be5c16de29d3d63f7 diff --git a/effect.cpp b/effect.cpp index 9a30b93..3446b42 100644 --- a/effect.cpp +++ b/effect.cpp @@ -61,6 +61,7 @@ void Effect::register_int(const string &key, int *value) { assert(params_int.count(key) == 0); params_int[key] = value; + register_uniform_int(key, value); } void Effect::register_float(const string &key, float *value)