From 348c43a12199e71017767930b0b42d939db47312 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 10 Jun 2010 06:14:44 +0200 Subject: Adding GLProfile.initSingleton() call, ensuring [multithreading] intitialization can be done in time --- src/demos/multisample/Multisample.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/demos/multisample') diff --git a/src/demos/multisample/Multisample.java b/src/demos/multisample/Multisample.java index 1c3c9ab..8e7facf 100755 --- a/src/demos/multisample/Multisample.java +++ b/src/demos/multisample/Multisample.java @@ -45,6 +45,9 @@ import javax.media.opengl.*; import javax.media.opengl.awt.GLCanvas; public class Multisample { + static { + GLProfile.initSingleton(); + } private GLCanvas canvas; // Simple class to warn if results are not going to be as expected -- cgit v1.2.3