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/hdr/HDR.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/demos/hdr') diff --git a/src/demos/hdr/HDR.java b/src/demos/hdr/HDR.java index 900d7f3..d4748b4 100755 --- a/src/demos/hdr/HDR.java +++ b/src/demos/hdr/HDR.java @@ -49,6 +49,9 @@ import javax.swing.JOptionPane; */ public class HDR extends Demo { + static { + GLProfile.initSingleton(); + } private static String[] defaultArgs = { "demos/data/images/stpeters_cross.hdr", "512", -- cgit v1.2.3