aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/share
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/share')
-rw-r--r--src/classes/share/javax/media/j3d/TextureRetained.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/classes/share/javax/media/j3d/TextureRetained.java b/src/classes/share/javax/media/j3d/TextureRetained.java
index 7fa241e..62afe95 100644
--- a/src/classes/share/javax/media/j3d/TextureRetained.java
+++ b/src/classes/share/javax/media/j3d/TextureRetained.java
@@ -1103,8 +1103,7 @@ abstract class TextureRetained extends NodeComponentRetained {
private boolean isEnabled(Canvas3D cv) {
if(widthOrHeightIsNPOT &&
- (((cv.textureExtendedFeatures & Canvas3D.TEXTURE_NON_POWER_OF_TWO ) == 0) ||
- VirtualUniverse.mc.enforcePowerOfTwo)) {
+ ((cv.textureExtendedFeatures & Canvas3D.TEXTURE_NON_POWER_OF_TWO ) == 0)) {
return false;
}
return enable;