Skip to content

Commit fbaaaf9

Browse files
authored
Merge pull request #250 from Artur-Sampaio/master
Fixed a bug that prevented the user from using gl.NEAREST_MIPMAP_NEAREST
2 parents f28e828 + b62200d commit fbaaaf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/materials/texture.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -477,11 +477,11 @@
477477
value !== "linearMipmapNearest" &&
478478
value !== "linearMipmapLinear" &&
479479
value !== "nearestMipmapLinear" &&
480-
value !== "linearMipmapLinear") {
480+
value !== "nearestMipmapNearest") {
481481

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

486486
value = "linearMipmapLinear";
487487
}

0 commit comments

Comments
 (0)