Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/crashinvaders/gdx-vfx
Browse files Browse the repository at this point in the history
  • Loading branch information
metaphore committed Aug 12, 2019
2 parents 437a96d + 8adf875 commit 3a7d590
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ with lots of improvements, aim on stability and to provide lightweight integrati
Work is in progress, some official backends are not stable yet.
More effects to be implemented and included in the standard library package.

_Current LibGDX target version is **1.9.8** (this will be changed soon)._

_If you need GWT support, please [read this section](#gwt-integration)._

# Demo
Expand Down Expand Up @@ -84,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 @@ -113,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 @@ -137,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 3a7d590

Please sign in to comment.