Skip to content
Snippets Groups Projects
Commit 820fec9b authored by Eric Moerth's avatar Eric Moerth
Browse files

Updated libgdx version

parent 91c8a333
No related branches found
No related tags found
No related merge requests found
......@@ -23,19 +23,19 @@
<dependency>
<groupId>com.badlogicgames.gdx</groupId>
<artifactId>gdx</artifactId>
<version>1.9.9</version>
<version>1.9.10</version>
</dependency>
<dependency>
<groupId>com.badlogicgames.gdx</groupId>
<artifactId>gdx-backend-lwjgl</artifactId>
<version>1.9.9</version>
<version>1.9.10</version>
</dependency>
<dependency>
<groupId>com.badlogicgames.gdx</groupId>
<artifactId>gdx-platform</artifactId>
<version>1.9.9</version>
<version>1.9.10</version>
<classifier>natives-desktop</classifier>
</dependency>
......
......@@ -3,7 +3,7 @@ package inf112.skeleton.app;
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.GL30;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
......@@ -27,7 +27,7 @@ public class HelloWorld implements ApplicationListener {
@Override
public void render() {
Gdx.gl.glClearColor(1, 1, 1, 1);
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
Gdx.gl.glClear(GL30.GL_COLOR_BUFFER_BIT);
batch.begin();
font.draw(batch, "Hello World", 200, 200);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment