v0.8.1: gl_scissor node is now always disabled at the end of a frame
This fixes a bug in some screen recorders when windows are open
This commit is contained in:
parent
7e2f63edba
commit
ff08ee3b7f
|
@ -138,7 +138,8 @@ public class Game implements ApplicationListener {
|
||||||
Gdx.gl.glDisable(Gdx.gl.GL_SCISSOR_TEST);
|
Gdx.gl.glDisable(Gdx.gl.GL_SCISSOR_TEST);
|
||||||
Gdx.gl.glClear(Gdx.gl.GL_COLOR_BUFFER_BIT);
|
Gdx.gl.glClear(Gdx.gl.GL_COLOR_BUFFER_BIT);
|
||||||
draw();
|
draw();
|
||||||
|
|
||||||
|
Gdx.gl.glDisable( Gdx.gl.GL_SCISSOR_TEST );
|
||||||
Gdx.gl.glFlush();
|
Gdx.gl.glFlush();
|
||||||
|
|
||||||
step();
|
step();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user