summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/macosx
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 23:15:33 +0200
committerSven Gothel <[email protected]>2014-07-08 23:15:33 +0200
commit27115b5f050e881f959a33c04e7d3988bfe676bf (patch)
tree94668f339d3de88be355a20bd541c1aa4bb7403d /src/jogl/classes/jogamp/opengl/macosx
parenta2b75f52db38be223261cd378a4bc330cc2d3ede (diff)
Findbugs: Use inner static class where possible
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/macosx')
-rw-r--r--src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java
index 6017c94e4..bc88d9ca9 100644
--- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java
+++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java
@@ -175,7 +175,7 @@ public class MacOSXPbufferCGLDrawable extends MacOSXCGLDrawable {
}
// NSOpenGLPixelBuffer implementation
- class NSOpenGLImpl implements GLBackendImpl {
+ static class NSOpenGLImpl implements GLBackendImpl {
@Override
public long create(final int renderTarget, final int internalFormat, final int width, final int height) {
return CGL.createPBuffer(renderTarget, internalFormat, width, height);
@@ -188,7 +188,7 @@ public class MacOSXPbufferCGLDrawable extends MacOSXCGLDrawable {
}
// CGL implementation
- class CGLImpl implements GLBackendImpl {
+ static class CGLImpl implements GLBackendImpl {
@Override
public long create(final int renderTarget, final int internalFormat, final int width, final int height) {
final PointerBuffer pbuffer = PointerBuffer.allocateDirect(1);