Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
metaphore authored Aug 12, 2019
1 parent 4977d41 commit 8adf875
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class PostProcessorExample extends ApplicationAdapter {
private BloomEffect postProcessorEffect;

@Override
public void create () {
public void create() {
shapeRenderer = new ShapeRenderer();

// PostProcessor is a manager for the effects.
Expand Down Expand Up @@ -115,7 +115,7 @@ public class PostProcessorExample extends ApplicationAdapter {
}

@Override
public void render () {
public void render() {
// Clean up the screen.
Gdx.gl.glClearColor(0f, 0f, 0f, 1f);
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
Expand All @@ -139,7 +139,7 @@ public class PostProcessorExample extends ApplicationAdapter {
}

@Override
public void dispose () {
public void dispose() {
// Since PostProcessor manages internal off-screen buffers,
// it should be disposed properly.
postProcessor.dispose();
Expand Down

0 comments on commit 8adf875

Please sign in to comment.