OSDN Git Service

[fixed] superjumper assets loading.
authorbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Fri, 28 Jan 2011 10:54:01 +0000 (10:54 +0000)
committerbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Fri, 28 Jan 2011 10:54:01 +0000 (10:54 +0000)
demos/superjumper/superjumper/src/com/badlogicgames/superjumper/Assets.java

index 28dcbbb..06d6625 100644 (file)
@@ -43,7 +43,7 @@ public class Assets {
     public static Sound clickSound;\r
     \r
     public static Texture loadTexture(String file) {\r
-        return Gdx.graphics.newTexture(Gdx.files.internal(file), TextureFilter.Nearest, TextureFilter.Nearest, TextureWrap.ClampToEdge, TextureWrap.ClampToEdge);\r
+       return new Texture(Gdx.files.internal(file));\r
     }\r
     \r
     public static void load() {\r