aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax/media/opengl/util/Gamma.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/javax/media/opengl/util/Gamma.java')
-rwxr-xr-xsrc/classes/javax/media/opengl/util/Gamma.java4
1 files changed, 2 insertions, 2 deletions
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();
}
}