Bug 158 - Endian issue
Summary: Endian issue
Status: VERIFIED INVALID
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All windows
: P1 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2005-04-29 11:22 CEST by Sven Gothel
Modified: 2010-03-24 07:47 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: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