this.isManaged = true;\r
this.isMipMap = false;\r
this.textureData = data;\r
+ this.width = textureData.getWidth();\r
+ this.height = textureData.getHeight();\r
this.file = null;\r
glHandle = createGLHandle();\r
Gdx.gl.glBindTexture(GL10.GL_TEXTURE_2D, glHandle);\r
setFilter(minFilter, magFilter);\r
setWrap(uWrap, vWrap);\r
- textureData.load(); \r
+ textureData.load(); \r
managedTextures.add(this);\r
}\r
\r
public class JoglDebugStarter {\r
\r
public static void main (String[] argv) {\r
- new JoglApplication(new com.badlogic.gdx.tests.RotationTest(), "Debug Test", 480, 320, false);\r
+ new JoglApplication(new com.badlogic.gdx.tests.TextureDataTest(), "Debug Test", 480, 320, false);\r
}\r
}\r