LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Cornix on June 13, 2013, 21:13:59

Title: Display.setDisplayConfiguration : Failed to set device gamma.
Post by: Cornix on June 13, 2013, 21:13:59
Hi again,
when I try to call the method:
Display.setDisplayConfiguration(1.0f, 1.0f, 1.0f);
I get the following exception:
org.lwjgl.LWJGLException: Failed to set device gamma.
at org.lwjgl.opengl.WindowsDisplay.nSetGammaRamp(Native Method)
at org.lwjgl.opengl.WindowsDisplay.doSetGammaRamp(WindowsDisplay.java:402)
at org.lwjgl.opengl.WindowsDisplay.setGammaRamp(WindowsDisplay.java:396)
at org.lwjgl.opengl.Display.setDisplayConfiguration(Display.java:396)

Even though I am in fullscreen mode.

Edit:
Also, it doesnt seem to quite work right for me. Changing contrast and brightness either does nothing or just turns the whole screen grey.

Any help?
Thanks in advance.
Title: Re: Display.setDisplayConfiguration : Failed to set device gamma.
Post by: Cornix on June 28, 2013, 21:12:59
Anyone have any idea? I take wild mass guessing too; beats nothing.
Title: Re: Display.setDisplayConfiguration : Failed to set device gamma.
Post by: Cornix on July 09, 2013, 17:13:34
Bump? (Still being hopeful)