diff options
author | Kenneth Russel <[email protected]> | 2005-07-18 22:15:42 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-07-18 22:15:42 +0000 |
commit | 8f5492988de9fddf61623b7274915c777ad3a97d (patch) | |
tree | 79528bb981dbaa88f2f970d555b2fb06b7f8335a /src/net/java/games/jogl/impl/windows | |
parent | 5e36587af91f43faff49f4ff61c40cf084bae298 (diff) |
Moved support for instantiating GLPbuffers from X11OnscreenGLContext
to X11GLContextFactory.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@327 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/impl/windows')
-rw-r--r-- | src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java b/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java index 1ea4c8b95..112afd2e4 100644 --- a/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java +++ b/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java @@ -179,7 +179,7 @@ public class WindowsGLContextFactory extends GLContextFactory { final int initialWidth, final int initialHeight, final GLContext shareWith) { - if (!canCreateGLPbuffer) { + if (!canCreateGLPbuffer(capabilities, initialWidth, initialHeight)) { throw new GLException("Pbuffer support not available with current graphics card"); } final List returnList = new ArrayList(); |