Bug 244

Summary: Using gl.glColor3f and gl.glColor4f in same GL block
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: macosx   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:49:32 CET


---- Reported by spark343 2006-08-17 16:10:53 ----

On my platform, Mac OS X 10.4.7, Java 1.5.0_6, JOGL library JSR-231 Beta 05,
JOGL will cause my code to crash (no error, or trace) when using gl.glColor3f()
and gl.glColor4f() in the same gl.glBegin(GL.GL_QUADS) -> gl.glEnd() code block.
Placing the calls to gl.glColor3f() 

I have tested the same code on the Windows platform and it does not have this
issue, it appears to be Mac specific.



---- Additional Comments From kbr 2006-08-24 08:27:39 ----

There is basically zero chance that this is a bug in JOGL. The autogenerated
code for glColor3f / glColor4f is trivial, provably correct by inspection, and
has been extremely well tested in many applications. If you can produce a small
and self-contained test case reproducing the problem I'd recommend you post it
on the forums for help, or if you still believe it's a bug in JOGL you can feel
free to reopen this bug report. In the meantime I'm closing it as "works for me".




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

This bug was previously known as _bug_ 244 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=244