OSDN Git Service

[added] OpenAL native to LWJGL.
authornathan.sweet <nathan.sweet@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Sat, 13 Nov 2010 21:26:35 +0000 (21:26 +0000)
committernathan.sweet <nathan.sweet@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Sat, 13 Nov 2010 21:26:35 +0000 (21:26 +0000)
[removed] newTexture method that takes a ByteBuffer. It's all going away anyway.

backends/dependencies/lwjgl-natives.jar
backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidGraphics.java
backends/gdx-backend-jogl/src/com/badlogic/gdx/backends/jogl/JoglGraphics.java
backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/LwjglGraphics.java
gdx/src/com/badlogic/gdx/Graphics.java

index 41df4d7..140f9ea 100644 (file)
Binary files a/backends/dependencies/lwjgl-natives.jar and b/backends/dependencies/lwjgl-natives.jar differ
index edfae16..0908844 100644 (file)
@@ -407,11 +407,4 @@ final class AndroidGraphics implements Graphics, Renderer {
        @Override public GLCommon getGLCommon () {\r
                return gl;\r
        }\r
-\r
-       @Override\r
-       public Texture newTexture(ByteBuffer buffer, Format format, int width,\r
-                       int height, TextureFilter minFilter, TextureFilter magFilter,\r
-                       TextureWrap uWrap, TextureWrap vWrap) {\r
-               throw new GdxRuntimeException("not implemented");\r
-       }\r
 }\r
index 1f49b20..ad4765f 100644 (file)
@@ -87,11 +87,4 @@ public class JoglGraphics extends JoglGraphicsBase implements GLEventListener {
                canvas.getContext().makeCurrent();\r
                listener.dispose();\r
        }\r
-\r
-       @Override\r
-       public Texture newTexture(ByteBuffer buffer, Format format, int width,\r
-                       int height, TextureFilter minFilter, TextureFilter magFilter,\r
-                       TextureWrap uWrap, TextureWrap vWrap) {\r
-               throw new GdxRuntimeException("not implemented");\r
-       }\r
 }\r
index 44f01cb..796cece 100644 (file)
@@ -236,11 +236,4 @@ final class LwjglGraphics implements Graphics {
                Gdx.gl11 = gl11;\r
                Gdx.gl20 = gl20;\r
        }\r
-\r
-       @Override\r
-       public Texture newTexture(ByteBuffer buffer, Format format, int width,\r
-                       int height, TextureFilter minFilter, TextureFilter magFilter,\r
-                       TextureWrap uWrap, TextureWrap vWrap) {\r
-               throw new GdxRuntimeException("not implemented");\r
-       }\r
 }\r
index a56a3d7..23634cf 100644 (file)
@@ -289,9 +289,6 @@ public interface Graphics {
                        Texture.TextureFilter magFilter, Texture.TextureWrap uWrap,\r
                        Texture.TextureWrap vWrap);\r
 \r
-       public Texture newTexture (ByteBuffer buffer, Format format, int width, int height, TextureFilter minFilter,\r
-               TextureFilter magFilter, TextureWrap uWrap, TextureWrap vWrap);\r
-\r
        /**\r
         * @return the {@link GraphicsType} of this Graphics instance\r
         */\r