X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fglsl%2Fgenerate.cpp;h=85c3009bc312e6426b570d4f85451aad7a146752;hb=cb4158902a680c58c5834da8577cd95ff753fd7c;hp=c82d1c6c58e4a59ef025fa3cf3f13c80b580342c;hpb=afb2687f23ac6c7d078bbad3db4379a2c051416a;p=libs%2Fgl.git diff --git a/source/glsl/generate.cpp b/source/glsl/generate.cpp index c82d1c6c..85c3009b 100644 --- a/source/glsl/generate.cpp +++ b/source/glsl/generate.cpp @@ -22,7 +22,7 @@ void ConstantIdAssigner::apply(Module &module, const Features &features) id = j->second; else { - id = hash32(v->name)%features.constant_id_range; + id = hash<32>(v->name)%features.constant_id_range; while(used_ids.count(id)) id = (id+1)%features.constant_id_range; }