diff options
author | Kenneth Russel <[email protected]> | 2004-04-26 16:20:26 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2004-04-26 16:20:26 +0000 |
commit | ad0eb54fa214b537ac52ea15c6563ba5a3720d1a (patch) | |
tree | 8d5865c977c97c1d2f062a21d4edbef03405ab0f /src | |
parent | 39a94cbfc2254956cca59bbc5c13102f11ad3a2c (diff) |
Fixed Issue 77: Creation of dummy GL context fails in some configurations
Applied patch from Yuri Vl. Gushchin to disable auto-redraw and
auto-swap buffer modes on dummy GLCanvas.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@125 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src')
-rw-r--r-- | src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java b/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java index d0d270e42..961a116d8 100644 --- a/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java +++ b/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java @@ -137,6 +137,8 @@ public class WindowsGLContextFactory extends GLContextFactory { } }); canvas.setSize(0, 0); + canvas.setNoAutoRedrawMode(true); + canvas.setAutoSwapBufferMode(false); frame.add(canvas); frame.pack(); frame.show(); |