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:
Evan Debenham 2020-05-09 19:38:09 -04:00
parent 7e2f63edba
commit ff08ee3b7f

View File

@ -138,7 +138,8 @@ public class Game implements ApplicationListener {
Gdx.gl.glDisable(Gdx.gl.GL_SCISSOR_TEST);
Gdx.gl.glClear(Gdx.gl.GL_COLOR_BUFFER_BIT);
draw();
Gdx.gl.glDisable( Gdx.gl.GL_SCISSOR_TEST );
Gdx.gl.glFlush();
step();