aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/JoglGL2Driver.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/render/opengl/JoglGL2Driver.java')
-rw-r--r--src/jake2/render/opengl/JoglGL2Driver.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jake2/render/opengl/JoglGL2Driver.java b/src/jake2/render/opengl/JoglGL2Driver.java
index cad9c0a..0c95680 100644
--- a/src/jake2/render/opengl/JoglGL2Driver.java
+++ b/src/jake2/render/opengl/JoglGL2Driver.java
@@ -114,9 +114,8 @@ public abstract class JoglGL2Driver extends JoglGL2ES1 implements GLDriver {
}
public void endFrame() {
- newtWin.window.swapBuffers();
+ newtWin.endFrame();
// deactivate();
- newtWin.fpsCounter.tickFPS();
}
public void appActivate(boolean activate) {