summaryrefslogtreecommitdiffstats
path: root/src/net/java/games
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2004-04-26 02:54:39 +0000
committerKenneth Russel <[email protected]>2004-04-26 02:54:39 +0000
commit39a94cbfc2254956cca59bbc5c13102f11ad3a2c (patch)
tree55d776b4d42de69bd55d91828965f83050bc8f9a /src/net/java/games
parentd0f8de4a9412c6049445adea21592065e212d1c9 (diff)
Applied patches from Yuri Vl. Gushchin on JOGL forums:
- Added KTX_buffer_region to glext.h - Used Dialog instead of Frame for dummy window on Windows git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@124 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games')
-rw-r--r--src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java3
1 files changed, 2 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 03fe03929..d0d270e42 100644
--- a/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java
+++ b/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java
@@ -40,6 +40,7 @@
package net.java.games.jogl.impl.windows;
import java.awt.Component;
+import java.awt.Dialog;
import java.awt.EventQueue;
import java.awt.Frame;
import java.awt.GraphicsConfiguration;
@@ -98,7 +99,7 @@ public class WindowsGLContextFactory extends GLContextFactory {
if (!pendingContextSet.contains(device)) {
pendingContextSet.add(device);
GraphicsConfiguration config = device.getDefaultConfiguration();
- final Frame frame = new Frame(config);
+ final Dialog frame = new Dialog(new Frame(config), "", false, config);
frame.setUndecorated(true);
GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities(),
null,