<?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>40</bug_id>
          
          <creation_ts>2003-09-13 11:40:03 +0200</creation_ts>
          <short_desc>GLException: Error making context current</short_desc>
          <delta_ts>2010-03-24 07:45:53 +0100</delta_ts>
          <reporter_accessible>0</reporter_accessible>
          <cclist_accessible>0</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <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>56</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:45:53 +0100</bug_when>
    <thetext>


---- Reported by trz 2003-09-13 11:40:03 ----

Hi,
if I ask for more than 4 alpha bits with GLCapabilities I get this error

Exception in thread &quot;main&quot; net.java.games.jogl.GLException: Error making context
current
	at net.java.games.jogl.impl.x11.X11GLContext.makeCurrent(X11GLContext.java:138)
	at
net.java.games.jogl.impl.x11.X11OnscreenGLContext.makeCurrent(X11OnscreenGLContext.java:108)
	at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:156)
	at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:179)
	at net.java.games.jogl.GLCanvas.display(GLCanvas.java:84)
	at com.xith3d.render.jogl.CanvasPeerImpl.render(CanvasPeerImpl.java:781)	at
com.xith3d.scenegraph.View.renderOnce(View.java:603)
	at com.xith3d.scenegraph.View.renderOnce(View.java:560)
	at com.xith3d.test.CubeTest.&lt;init&gt;(CubeTest.java:190)
	at com.xith3d.test.CubeTest.main(CubeTest.java:580)

(stack trace is from xith example, but I have the same problem even from Gears
demo if I change GLCapabilities). 

I&apos;m running latest cvs version of jogl on linux 2.4.20, xfree 4.2.1, nvidia
opengl drivers 4363, geforce 2.

The Capabilities chosen in DefaultGLCapabilitiesChooser is

GLCapabilities [DoubleBuffered: true, Stereo: false, HardwareAccelerated: true,
DepthBits: 24, StencilBits: 8, Red: 8, Green: 8, Blue: 8, Alpha: 8, Red Accum:
16, Green Accum: 16, Blue Accum: 16, Alpha Accum: 16 ]



---- Additional Comments From kbr 2005-01-30 23:45:03 ----

Sorry for not commenting on this bug until now. Many issues related to pixel
format / visual selection have been fixed in recent betas. Please retest with
the latest JOGL beta and reopen this issue or file a new one if problems persist.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:45 EDT  ---

This bug was previously known as _bug_ 40 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=40
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>