X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=effect.cpp;h=3446b42c05baab5553ae83f71c69d6ef8467774f;hb=274627c966f53780991e9f80887aa1906b592751;hp=9a30b93d2dc2ac03364f03107915aa5aec143fe2;hpb=20c2ca726f0e6c194a1fddcb9908796de19430ac;p=movit 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)