diff options
author | Sven Gothel <[email protected]> | 2013-07-05 06:25:52 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-07-05 06:25:52 +0200 |
commit | b9a24308f3ebc6fae9ca79f6020970945936feab (patch) | |
tree | b51408732bd1813cd0de90b5008fb867e4a01d9d /src/test | |
parent | 4e225341fa11769c4da0825a3b5eb37464a732ef (diff) |
Fix Bug 765: Add glMultiDrawElementsBaseVertex ; Restrict PointerBuffer usage to NIO only.
Code snippet for PointerBuffer usage:
Code snippet .. how to use PointerBuffer in this case:
IntBuffer indices = Buffers.newDirectIntBuffer(count);
indices.put(...); ...
indices.rewind();
final PointerBuffer indicesP = PointerBuffer.allocateDirect(1);
indicesP.referenceBuffer(indices);
-> glMultiDrawElementsBaseVertex(int mode, IntBuffer count, int type, PointerBuffer indices, int primcount, IntBuffer basevertex)
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions