Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Haakon Gunleiksrud
TDT4240_v20_haakon
Commits
e890cdd1
Commit
e890cdd1
authored
Apr 24, 2020
by
Turid Cecilie Dahl
Browse files
Re-adds screen clearing
parent
ff687c63
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/core/src/com/gameware/game/GameWare.java
View file @
e890cdd1
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment