aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/GLPbufferImpl.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-06-29 04:15:21 +0200
committerSven Gothel <[email protected]>2012-06-29 04:15:21 +0200
commit0d7c3ed619044723cf561df424eac9992e5281c7 (patch)
tree3ffa52aa71536a3321b9bf7e59de7ee28ede5917 /src/jogl/classes/jogamp/opengl/GLPbufferImpl.java
parentd10c7916a2444b6cb1cf45be3ccb3d6e91a2f1b4 (diff)
GLContextImpl/GLDrawableImpl: More fail-safe, cleanup, mark some methods final
GLContextImpl: Cleanup - release(): simplify the conditions - destroy(): allow locked twice before (destroy case) GLDrawableImpl: - fail safe: swapBuffers - final methods: getFactoryImpl, toHexString, getGLProfile, getRequestedGLCapabilities, getFactory, isRealized, lockSurface, unlockSurface
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLPbufferImpl.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/GLPbufferImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLPbufferImpl.java b/src/jogl/classes/jogamp/opengl/GLPbufferImpl.java
index 9b3def434..0ed3be48b 100644
--- a/src/jogl/classes/jogamp/opengl/GLPbufferImpl.java
+++ b/src/jogl/classes/jogamp/opengl/GLPbufferImpl.java
@@ -88,16 +88,16 @@ public class GLPbufferImpl implements GLPbuffer {
}
@Override
- public GLContext createContext(GLContext shareWith) {
+ public final GLContext createContext(GLContext shareWith) {
return pbufferDrawable.createContext(shareWith);
}
@Override
- public void setRealized(boolean realized) {
+ public final void setRealized(boolean realized) {
}
@Override
- public boolean isRealized() {
+ public final boolean isRealized() {
return true;
}