Bug 158

Summary: Endian issue
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED INVALID    
Severity: normal    
Priority: P1    
Version: 1   
Hardware: All   
OS: windows   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:47:47 CET


---- Reported by ataron 2005-04-29 11:22:52 ----

My platform: PC, Windows XP Home, latest jogl version (both dlls and jar)
The  "gl.glSelectBuffer(BUFSIZE, selectBuf);" function returns results that are 
in wrong endian order (I needed to swap the 4 bytes for each entry in selectBuf 
in order to obtain the correct names). 
This was not an issue with version 1.0 (April 12 2004).

Thank you,
Andrei



---- Additional Comments From kbr 2005-04-29 17:50:50 ----

The selectBuf's byte order is not being set to ByteOrder.nativeOrder(). This is
a bug in the application, not in JOGL. See the BufferUtils class in
net.java.games.jogl.util for convenience routines which allocate with the
correct byte order.




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

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