diff options
author | Sven Gothel <[email protected]> | 2012-10-15 16:34:29 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-15 16:34:29 +0200 |
commit | 78e90cd489267668ac64240f18d02a5023e2df97 (patch) | |
tree | 675e770f90d322458d0372ffaa32e6d3fe93f3f6 /src/jake2/render/opengl/JoglES1Driver.java | |
parent | 10322882a6e4d4534c81915e337fc58ca9445e27 (diff) |
Adding jogldummy (dummy GL driver (no calls), but w/ NEWT and actual [not-used] GL context), remove GL ctx switch for GL2, ES2 and ES1
Diffstat (limited to 'src/jake2/render/opengl/JoglES1Driver.java')
-rw-r--r-- | src/jake2/render/opengl/JoglES1Driver.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jake2/render/opengl/JoglES1Driver.java b/src/jake2/render/opengl/JoglES1Driver.java index e6edcc5..afb1c12 100644 --- a/src/jake2/render/opengl/JoglES1Driver.java +++ b/src/jake2/render/opengl/JoglES1Driver.java @@ -103,10 +103,11 @@ public abstract class JoglES1Driver 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(); } |