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