<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1175</bug_id>
          
          <creation_ts>2015-07-13 10:58:43 +0200</creation_ts>
          <short_desc>gamma.reresetDisplayGamma()</short_desc>
          <delta_ts>2019-03-27 04:16:28 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>2.4.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Amardeep">amardeep.singh</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>gouessej</cc>
    
    <cc>sgothel</cc>
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4776</commentid>
    <comment_count>0</comment_count>
    <who name="Amardeep">amardeep.singh</who>
    <bug_when>2015-07-13 10:58:43 +0200</bug_when>
    <thetext>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&apos;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);
		       }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4786</commentid>
    <comment_count>1</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2015-07-17 10:05:56 +0200</bug_when>
    <thetext>(In reply to comment #0)
&gt; i am using JOGL 2.1
&gt; 
Please switch to JOGL 2.3.1. We only maintain the latest version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5418</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-10-09 06:35:44 +0200</bug_when>
    <thetext>works here w/ NEWT demos

after re-testing w/ 2.3.2, re-open if still an issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>