diff options
Diffstat (limited to 'src/net/java/games/jogl/GLDrawableFactory.java')
-rw-r--r-- | src/net/java/games/jogl/GLDrawableFactory.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/net/java/games/jogl/GLDrawableFactory.java b/src/net/java/games/jogl/GLDrawableFactory.java index 38a2b904f..bf2a8535d 100644 --- a/src/net/java/games/jogl/GLDrawableFactory.java +++ b/src/net/java/games/jogl/GLDrawableFactory.java @@ -211,8 +211,9 @@ public class GLDrawableFactory { public boolean canCreateGLPbuffer(GLCapabilities capabilities, int initialWidth, int initialHeight) { - // FIXME - throw new GLException("Not yet implemented"); + return GLContextFactory.getFactory().canCreateGLPbuffer(capabilities, + initialWidth, + initialHeight); } @@ -223,7 +224,9 @@ public class GLDrawableFactory { int initialWidth, int initialHeight, GLContext shareWith) { - // FIXME - throw new GLException("Not yet implemented"); + return GLContextFactory.getFactory().createGLPbuffer(capabilities, + initialWidth, + initialHeight, + shareWith); } } |