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, 2 insertions, 1 deletions
diff --git a/src/jake2/render/opengl/JoglGL2Driver.java b/src/jake2/render/opengl/JoglGL2Driver.java
index 0386e30..ccabf7f 100644
--- a/src/jake2/render/opengl/JoglGL2Driver.java
+++ b/src/jake2/render/opengl/JoglGL2Driver.java
@@ -102,10 +102,11 @@ public abstract class JoglGL2Driver extends JoglGL2ES1 implements GLDriver {
public void endFrame() {
newtWin.window.swapBuffers();
+ /**
final GLContext ctx = newtWin.window.getContext();
if ( null != ctx && GLContext.getCurrent() == ctx) {
ctx.release();
- }
+ } */
newtWin.fpsCounter.tickFPS();
}