diff options
Diffstat (limited to 'src/demos/gamma')
-rwxr-xr-x | src/demos/gamma/TestGamma.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/demos/gamma/TestGamma.java b/src/demos/gamma/TestGamma.java index 4dff454..fc6a34f 100755 --- a/src/demos/gamma/TestGamma.java +++ b/src/demos/gamma/TestGamma.java @@ -51,6 +51,10 @@ import com.jogamp.opengl.util.Gamma; public class TestGamma implements GLEventListener { + static { + GLProfile.initSingleton(); + } + private static void usage() { System.out.println("Usage: java TestGamma [gamma value] [brightness value] [contrast value]"); System.exit(1); |