summaryrefslogtreecommitdiff
path: root/libs/utils/TextOutput.cpp
diff options
context:
space:
mode:
author Jack Palevich <jackpal@google.com> 2009-05-07 18:28:29 -0700
committer Jack Palevich <jackpal@google.com> 2009-05-07 18:28:29 -0700
commit46d25a371d58c63cbd72f5d08348e9b75c2ac22c (patch)
tree0e45712e9f287bc3cc49b7b5f27144230427810c /libs/utils/TextOutput.cpp
parentc1d9854e399e21bc93bf64480ab1dad726d05718 (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.
Diffstat (limited to 'libs/utils/TextOutput.cpp')
0 files changed, 0 insertions, 0 deletions