// well as a callback that sets the ref count.\r
TextureParameter params = new TextureParameter();\r
params.textureData = texture.getTextureData();\r
+ params.minFilter = texture.getMinFilter();\r
+ params.magFilter = texture.getMagFilter();\r
+ params.wrapU = texture.getUWrap();\r
+ params.wrapV = texture.getVWrap();\r
+ params.genMipMaps = texture.data.useMipMaps(); //not sure about this?\r
params.texture = texture; // special parameter which will ensure that the references stay the same.\r
params.loadedCallback = new LoadedCallback() {\r
@Override\r