intbuffers must be direct now?

Started by emzic, June 19, 2010, 11:47:11

Previous topic - Next topic

emzic

hi i just updated from 2.2.2 to 2.4.2.
is it possible that intbuffers now must be direct buffers?
if so, is there a way to create direct intbuffers without using bufferutils?

thanks!

Ciardhubh

All have to be direct since 2.3:
http://lwjgl.org/forum/index.php/topic,3212.0.html

Look at the source of BufferUtils. It's fairly simple.