OSDN Git Service

[added] getGLCommon to Graphics
authorbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Sat, 23 Oct 2010 13:35:06 +0000 (13:35 +0000)
committerbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Sat, 23 Oct 2010 13:35:06 +0000 (13:35 +0000)
gdx/src/com/badlogic/gdx/Graphics.java

index f391bb5..b594e0b 100644 (file)
@@ -22,9 +22,10 @@ import com.badlogic.gdx.graphics.Font;
 import com.badlogic.gdx.graphics.GL10;\r
 import com.badlogic.gdx.graphics.GL11;\r
 import com.badlogic.gdx.graphics.GL20;\r
+import com.badlogic.gdx.graphics.GLCommon;\r
 import com.badlogic.gdx.graphics.Pixmap;\r
-import com.badlogic.gdx.graphics.Texture;\r
 import com.badlogic.gdx.graphics.Pixmap.Format;\r
+import com.badlogic.gdx.graphics.Texture;\r
 \r
 /**\r
  * <p>\r
@@ -101,6 +102,11 @@ public interface Graphics
        public boolean isGL20Available( );\r
        \r
        /**\r
+        * @return a {@link GLCommon} instance\r
+        */\r
+       public GLCommon getGLCommon( );\r
+       \r
+       /**\r
         * @return the {@link GL10} instance\r
         * @throws GdxRuntimeException in case the Application was configured to use OpenGL ES 2.0\r
         */\r