<?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>839</bug_id>
          
          <creation_ts>2013-09-20 11:35:53 +0200</creation_ts>
          <short_desc>Clarify GLStateTracker enabled/disabled state, obfuscated by 83d3a3f2ea8dc328e621b3abbe671f46379c7e65</short_desc>
          <delta_ts>2013-09-21 05:19:45 +0200</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</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>4ef07dc20a3d867feb1c51b4ce22ae3d06094781</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2978</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-09-20 11:35:53 +0200</bug_when>
    <thetext>- 83d3a3f2ea8dc328e621b3abbe671f46379c7e65
    - GLStateTracker.clearStates(boolean enable) was only supposed to be used
      for GLContext.destroy()!
      Now it&apos;s called in GLContext.resetStates(),
      which disables GLStateTracker always!

- cf95674e16d34a85191d3af0a35d1357e011fcac
    - GLStateTracker.clearStates() -&gt; GLStateTracker.clearStates(boolean enable)
      Changed to disable state tracker at GLContext.destroy().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2981</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-09-21 05:17:22 +0200</bug_when>
    <thetext>(In reply to comment #0)
&gt; - 83d3a3f2ea8dc328e621b3abbe671f46379c7e65
&gt;     - GLStateTracker.clearStates(boolean enable) was only supposed to be used
&gt;       for GLContext.destroy()!
&gt;       Now it&apos;s called in GLContext.resetStates(),
&gt;       which disables GLStateTracker always!

The GLStateTracker was not disabled w/ 1st resetStates() call,
since the fields were not yet initialized.

Shall clarify this situation, i.e. remove code obfuscation.

&gt; 
&gt; - cf95674e16d34a85191d3af0a35d1357e011fcac
&gt;     - GLStateTracker.clearStates() -&gt; GLStateTracker.clearStates(boolean
&gt; enable)
&gt;       Changed to disable state tracker at GLContext.destroy().</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>