Bug 60

Summary: Bug fix in tessellation for vertex[Data] callbacks, jogl from Sep 2003
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED INVALID    
Severity: normal    
Priority: P1    
Version: 1   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:46:12 CET


---- Reported by pdjensen 2004-01-29 07:41:25 ----

In net.java.games.jogl.impl.tesselator.Render.java:306 in renderLonelyTriangle() of the 
Sept 5 release, the line 
 
      tess.callVertexOrVertexData( e.Org.data); 
 
should be 
 
      tess.callVertexOrVertexData( e.Org.coords); 
 
The vertex(coords) and vertexData(coords, userData) callbacks were getting the 
userData information in place of the coords.



---- Additional Comments From kbr 2004-01-29 07:56:41 ----

Thanks for the patch. This has been fixed in the CVS repository.




---- Additional Comments From kbr 2004-01-29 17:20:26 ----

pepijnve pointed out that the original behavior is by design.




---- Additional Comments From kbr 2004-01-29 17:20:58 ----

pepijnve pointed out that this behavior is by design.




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

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