Android shader compilation fix

This commit is contained in:
Olivier Prat 2018-11-08 13:48:19 +01:00
parent 829e5ff44f
commit d64127aa9c

View file

@ -451,7 +451,7 @@ float computeWeightedHorizon(float horizonLimit, float distanceSquared) {
} }
<@func computeHorizon()@> <@func computeHorizon()@>
if (tapUVPos.x<0 || tapUVPos.y<0 || tapUVPos.x>=1.0 || tapUVPos.y>=1.0) { if (tapUVPos.x<0.0 || tapUVPos.y<0.0 || tapUVPos.x>=1.0 || tapUVPos.y>=1.0) {
// Early exit because we've hit the borders of the frame // Early exit because we've hit the borders of the frame
break; break;
} }