diff options
author | Xerxes Rånby <[email protected]> | 2012-09-20 12:43:10 +0200 |
---|---|---|
committer | Xerxes Rånby <[email protected]> | 2012-09-20 12:43:10 +0200 |
commit | c9553e82282d86e336ab21e6565f0c828cfb8351 (patch) | |
tree | 7146d6e90b713ed3e59446f22519497dc8763736 /src/demos/texture/TestSubImage.java | |
parent | ccb06ad604c0dd33cb8dd361413aef671af42c15 (diff) |
Use NIO Direct buffers to pass data to glVertexAttribPointer in RawGL2ES2demo.java
https://github.com/sgothel/jogl/commit/3f5aac3536956e245d0e151e4915e7dd67a08b7e
Fixed two logical flaws regarding:
- GL spec: Pointer functions required passed memory pointers to persist
- JNI: Primitive arrays may change their native memory location (swap),
even if they were not GC'ed.
The demo code is now updated to stay compatible with this change.
Signed-off-by Xerxes Rånby <[email protected]>
Diffstat (limited to 'src/demos/texture/TestSubImage.java')
0 files changed, 0 insertions, 0 deletions