Skip to content

Commit

Permalink
Merge pull request #147 from ajfarkas/mobile
Browse files Browse the repository at this point in the history
add high precision shaders for Android
  • Loading branch information
biasmv committed Mar 19, 2016
2 parents bde3a38 + 8b8c908 commit 7c47206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function isAndroid() {
function shouldUseHighPrecision() {
// high precision for shaders is only required on iOS, all the other browsers
// are doing just fine with mediump.
return isiOS();
return isiOS() || isAndroid();
}

var requestAnimFrame = (function(){
Expand Down

0 comments on commit 7c47206

Please sign in to comment.