diff options
Diffstat (limited to 'src/demos/fullscreen/GearsFullscreen.java')
-rwxr-xr-x | src/demos/fullscreen/GearsFullscreen.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/demos/fullscreen/GearsFullscreen.java b/src/demos/fullscreen/GearsFullscreen.java index 0dac67f..2fa9937 100755 --- a/src/demos/fullscreen/GearsFullscreen.java +++ b/src/demos/fullscreen/GearsFullscreen.java @@ -5,6 +5,7 @@ import java.awt.event.*; import demos.gears.Gears; import demos.util.*; +import javax.media.opengl.GLProfile; import javax.media.opengl.awt.GLCanvas; import com.jogamp.opengl.util.Animator; @@ -21,6 +22,10 @@ import com.jogamp.opengl.util.Animator; */ public class GearsFullscreen { + static { + GLProfile.initSingleton(); + } + private GraphicsDevice dev; private DisplayMode origMode; private boolean fullScreen; |