Bug 60 - Bug fix in tessellation for vertex[Data] callbacks, jogl from Sep 2003
Summary: Bug fix in tessellation for vertex[Data] callbacks, jogl from Sep 2003
Status: VERIFIED INVALID
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P1 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2004-01-29 07:41 CET by Sven Gothel
Modified: 2010-03-24 07:46 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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