Image: remove efficient state field

experimental
Kirill Vainer 10 years ago
parent e29988e30c
commit 02c997b165
  1. 5
      jme3-core/src/main/java/com/jme3/texture/Image.java

@ -367,7 +367,6 @@ public class Image extends NativeObject implements Savable /*, Cloneable*/ {
protected int width, height, depth; protected int width, height, depth;
protected int[] mipMapSizes; protected int[] mipMapSizes;
protected ArrayList<ByteBuffer> data; protected ArrayList<ByteBuffer> data;
protected transient Object efficientData;
protected int multiSamples = 1; protected int multiSamples = 1;
protected ColorSpace colorSpace = null; protected ColorSpace colorSpace = null;
// protected int mipOffset = 0; // protected int mipOffset = 0;
@ -761,8 +760,6 @@ public class Image extends NativeObject implements Savable /*, Cloneable*/ {
*/ */
@Deprecated @Deprecated
public void setEfficentData(Object efficientData){ public void setEfficentData(Object efficientData){
this.efficientData = efficientData;
setUpdateNeeded();
} }
/** /**
@ -770,7 +767,7 @@ public class Image extends NativeObject implements Savable /*, Cloneable*/ {
*/ */
@Deprecated @Deprecated
public Object getEfficentData(){ public Object getEfficentData(){
return efficientData; return null;
} }
/** /**

Loading…
Cancel
Save