Skip to content

Commit 0406903

Browse files
committed
Disable DDS textures for the moment, until mrdoob#4316 is fixed.
1 parent dac897e commit 0406903

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

examples/js/loaders/XPlanePolLoader.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ THREE.XPlanePolLoader = ( function () {
5454
var ddsPath = splitPath.concat(['dds']).join('.');
5555
var pngPath = splitPath.concat(['png']).join('.');
5656

57-
ddsLoader.load(
57+
// DDS Texture loading currently disabled because of this bug https://github.com/mrdoob/three.js/issues/4316 - Compressed DDS textures load upside down
58+
/*ddsLoader.load(
5859
// resource URL
5960
ddsPath,
6061
@@ -70,7 +71,7 @@ THREE.XPlanePolLoader = ( function () {
7071
undefined,
7172
7273
// onError callback
73-
function ( err ) {
74+
function ( err ) {*/
7475
textureLoader.load(
7576
// resource URL
7677
pngPath,
@@ -91,8 +92,8 @@ THREE.XPlanePolLoader = ( function () {
9192
console.error( 'Could not load texture. Tried ' + ddsPath + ' and ' + pngPath );
9293
}
9394
);
94-
}
95-
);
95+
/*}
96+
);*/
9697

9798
return this;
9899

0 commit comments

Comments
 (0)