From d96486967efcfb6f43226da9fa60cbc3d68ab323 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 28 Jun 2008 14:30:26 +0000 Subject: 3rd round cdcfp - compile clean. Re-adding cdcfp: com/sun/opengl/impl/glu/mipmap/* com/sun/opengl/impl/GLPbufferImpl.java Using 'BufferUtil.nativeOrder(ByteBuffer)' to set up the native byte order. 'BufferUtil.nativeOrder' is now public. GLDrawableFactory: - removed 'hardcoded' awt attribute. Cleanup NEWT's AWT wrapping implementation. - NativeWindowFactory incooperates with the wrapping property. Bugs on X11/NEWT/AWT: - no events - deadlock at shutdown - deadlock if EGLDrawable with AWT get's locked git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1700 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/javax/media/opengl/util/Gamma.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/classes/javax/media/opengl/util/Gamma.java') diff --git a/src/classes/javax/media/opengl/util/Gamma.java b/src/classes/javax/media/opengl/util/Gamma.java index 201144e3f..ba7bc5a32 100755 --- a/src/classes/javax/media/opengl/util/Gamma.java +++ b/src/classes/javax/media/opengl/util/Gamma.java @@ -87,7 +87,7 @@ public class Gamma { * out-of-bounds */ public static boolean setDisplayGamma(float gamma, float brightness, float contrast) throws IllegalArgumentException { - return GLDrawableFactoryImpl.getFactoryImpl(false).setDisplayGamma(gamma, brightness, contrast); + return GLDrawableFactoryImpl.getFactoryImpl().setDisplayGamma(gamma, brightness, contrast); } /** @@ -101,6 +101,6 @@ public class Gamma { * unspecified behavior during JVM teardown. */ public static void resetDisplayGamma() { - GLDrawableFactoryImpl.getFactoryImpl(false).resetDisplayGamma(); + GLDrawableFactoryImpl.getFactoryImpl().resetDisplayGamma(); } } -- cgit v1.2.3