Commit e890cdd1 authored by Turid Cecilie Dahl's avatar Turid Cecilie Dahl
Browse files

Re-adds screen clearing

parent ff687c63
......@@ -89,6 +89,9 @@ public class GameWare extends ApplicationAdapter {
@Override
public void render () {
// Clearing the screen
Gdx.gl.glClearColor(1, 1, 1, 1);
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
// Delegates to GameStateManager
gsm.update(Gdx.graphics.getDeltaTime());
gsm.render(batch);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment