Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove GL1.x

  • Loading branch information...
commit 7dbef6e8cbffe055741aaa5a3c26a98cfb61b363 1 parent 586bb8b
@MobiDevelop MobiDevelop authored
View
20 backends/gdx-backend-headless/src/com/badlogic/gdx/backends/headless/mock/graphics/MockGraphics.java
@@ -17,9 +17,8 @@
package com.badlogic.gdx.backends.headless.mock.graphics;
import com.badlogic.gdx.Graphics;
-import com.badlogic.gdx.graphics.GL10;
-import com.badlogic.gdx.graphics.GL11;
import com.badlogic.gdx.graphics.GL20;
+import com.badlogic.gdx.graphics.GL30;
import com.badlogic.gdx.graphics.GLCommon;
/** The headless backend does its best to mock elements. This is intended to make code-sharing between
@@ -33,12 +32,7 @@
long lastTime = System.nanoTime();
@Override
- public boolean isGL11Available() {
- return false;
- }
-
- @Override
- public boolean isGL20Available() {
+ public boolean isGL30Available() {
return false;
}
@@ -48,17 +42,12 @@ public GLCommon getGLCommon() {
}
@Override
- public GL10 getGL10() {
- return null;
- }
-
- @Override
- public GL11 getGL11() {
+ public GL20 getGL20() {
return null;
}
@Override
- public GL20 getGL20() {
+ public GL30 getGL30() {
return null;
}
@@ -194,4 +183,5 @@ public void updateTime () {
}
frames++;
}
+
}
Please sign in to comment.
Something went wrong with that request. Please try again.