X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fgenerate.cpp;h=85c3009bc312e6426b570d4f85451aad7a146752;hb=cb4158902a680c58c5834da8577cd95ff753fd7c;hp=c82d1c6c58e4a59ef025fa3cf3f13c80b580342c;hpb=8c379c40892fc0e11cf2d40f4784c6e6aa1a12d7;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; }