Bug 40

Summary: GLException: Error making context current
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:45:53 CET


---- 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 "main" 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.<init>(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'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