Skip to content
Snippets Groups Projects
Commit e890cdd1 authored by Turid Cecilie Dahl's avatar Turid Cecilie Dahl
Browse files

Re-adds screen clearing

parent ff687c63
Branches 101-make-font-scale-based-on-device-width
No related tags found
No related merge requests found
......@@ -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);
......
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