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