Re: Good news
Posted by
Sven Gothel on
Sep 08, 2014; 9:33am
URL: https://forum.jogamp.org/Good-news-tp4033046p4033084.html
On 09/08/2014 11:07 AM, adi [via jogamp] wrote:
> Hi
>
> I have found the error.
> Ih have used now
> *ByteBuffer.allocateDirect( dataLength ).order(ByteOrder.nativeOrder());*
> then it works.
> *ByteBuffer.allocate( dataLength );* is not enough:-)
Yup .. we use this in our Buffers class as well.