mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-08 21:47:30 +02:00
Android shader compilation fix
This commit is contained in:
parent
829e5ff44f
commit
d64127aa9c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue