Display.setDisplayConfiguration : Failed to set device gamma.

Started by Cornix, June 13, 2013, 21:13:59

Previous topic - Next topic

Cornix

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.

Cornix

Anyone have any idea? I take wild mass guessing too; beats nothing.

Cornix