Login  Register

Re: Texture Issue Again :(

Posted by Michael Bien on Mar 13, 2011; 7:08pm
URL: https://forum.jogamp.org/Texture-Issue-Again-tp2646111p2680428.html

  can you please post the stack trace of this one?
you are using the latest build right? (i wan't to be sure that i look at
the same stuff you are using)

-michael

On 03/07/2011 02:27 PM, Haroogan [via jogamp] wrote:
> ByteBuffer.allocateDirect(2049 * 2049 * 3).order(ByteOrder.nativeOrder());
>
>
> Later, I fill it with texture information and call  and here's what I get as
> a response:
>
>
> Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException:
> Required 12597251 remaining bytes in buffer, only had 12595203