Skip to content

Commit

Permalink
Merge pull request #250 from Artur-Sampaio/master
Browse files Browse the repository at this point in the history
Fixed a bug that prevented the user from using gl.NEAREST_MIPMAP_NEAREST
  • Loading branch information
xeolabs authored Apr 26, 2018
2 parents f28e828 + b62200d commit fbaaaf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/materials/texture.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,11 +477,11 @@
value !== "linearMipmapNearest" &&
value !== "linearMipmapLinear" &&
value !== "nearestMipmapLinear" &&
value !== "linearMipmapLinear") {
value !== "nearestMipmapNearest") {

this.error("Unsupported value for 'minFilter': '" + value +
"' - supported values are 'linear', 'linearMipmapNearest', 'nearestMipmapLinear' " +
"and 'linearMipmapLinear'. Defaulting to 'linearMipmapLinear'.");
"' - supported values are 'linear', 'linearMipmapNearest', 'nearestMipmapNearest', " +
"'nearestMipmapLinear' and 'linearMipmapLinear'. Defaulting to 'linearMipmapLinear'.");

value = "linearMipmapLinear";
}
Expand Down

0 comments on commit fbaaaf9

Please sign in to comment.