You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: No matching overload for function 'textureLod' found #628
That's interesting - as far as I can see textureLod is part of es3. @kvark We could change this to a texture(Offset) right? (even if just as a workaround for now).
Oh, I think we just need to pass 0.0 for the LOD (instead of 0), since it's a float parameter on all overloads of this function. @mmatyas would you be able to confirm if this is the right fix?
Activity
glennw commentedon Dec 12, 2016
That's interesting - as far as I can see textureLod is part of es3. @kvark We could change this to a texture(Offset) right? (even if just as a workaround for now).
kvark commentedon Dec 12, 2016
Oh, I think we just need to pass
0.0for the LOD (instead of0), since it's afloatparameter on all overloads of this function. @mmatyas would you be able to confirm if this is the right fix?glennw commentedon Dec 12, 2016
Ah, that makes sense.
mmatyas commentedon Dec 12, 2016
Thanks; at the moment I don't have the Odroid at hand, but I will try it tomorrow (GMT+1).
mmatyas commentedon Dec 13, 2016
Using
0.0fixed the problem, thanks!Auto merge of #632 - mmatyas:fix_texturelod, r=kvark