Bug 1175 - gamma.reresetDisplayGamma()
Summary: gamma.reresetDisplayGamma()
Status: RESOLVED WORKSFORME
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2.4.0
Hardware: All all
: P3 major
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2015-07-13 10:58 CEST by Amardeep
Modified: 2015-10-09 06:35 CEST (History)
2 users (show)

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amardeep 2015-07-13 10:58:43 CEST
i am using JOGL 2.1

Gamma.resetDisplayGamma() is not working in this version, Gamma.setDisplayGamma() changes the display setting of screen but when we call resetDisplayGamma is don't came back to normal setting of screen. 




my code is below 


          if (Flag) {
			float gamma = 2.6f;
			Gamma.setDisplayGamma(gl, 1.0f / gamma, -0.5f, 1.0f);
		        } else {
		 	Gamma.resetDisplayGamma(gl);
		       }
Comment 1 Julien Gouesse 2015-07-17 10:05:56 CEST
(In reply to comment #0)
> i am using JOGL 2.1
> 
Please switch to JOGL 2.3.1. We only maintain the latest version.
Comment 2 Sven Gothel 2015-10-09 06:35:44 CEST
works here w/ NEWT demos

after re-testing w/ 2.3.2, re-open if still an issue.