X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=effect.h;h=67e64238beb2bdc590f75ed83327b045d3e80c29;hb=0c821b2eb013de712041d2b337612b9a6297695f;hp=fe76a7569976b80b690a8e3c2ed87f0078ab8a2d;hpb=f907b7bebd1085805d93124be5c16de29d3d63f7;p=movit diff --git a/effect.h b/effect.h index fe76a75..67e6423 100644 --- a/effect.h +++ b/effect.h @@ -316,11 +316,8 @@ protected: // // Neither of these take ownership of the pointer. - // int is special since GLSL pre-1.30 doesn't have integer uniforms. - // Thus, ints that you register will _not_ be converted to GLSL uniforms. + // These correspond directly to int/float/vec2/vec3/vec4 in GLSL. void register_int(const std::string &key, int *value); - - // These correspond directly to float/vec2/vec3/vec4 in GLSL. void register_float(const std::string &key, float *value); void register_vec2(const std::string &key, float *values); void register_vec3(const std::string &key, float *values);