commit | e20ea783a12f1031482c3aa01938efe39dcbf0a2 | [log] [tgz] |
---|---|---|
author | Jack Palevich <jackpal@google.com> | Thu May 07 18:28:29 2009 -0700 |
committer | Jack Palevich <jackpal@google.com> | Thu May 07 18:28:29 2009 -0700 |
tree | b32727a25f4cd4ca8c6ced40a9feb4ef6a665b9d | |
parent | 538bcd702c0053772245dfbb634c266959cf6af9 [diff] |
Require native-order direct buffers for glXXXPointer APIs. This was always a documented restriction, but was not enforced by the runtime until now. Until now, if you passed in some other kind of buffer, it would sometimes work, and sometimes fail. The failures happened when the Java VM moved the buffer data while OpenGL was still holding a pointer to it. Now we throw an exception rather than leaving the system in a potentially bad state.