summaryrefslogtreecommitdiff
path: root/libs/utils/AssetManager.cpp
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2011-04-08 20:01:01 -0700
committer Elliott Hughes <enh@google.com> 2011-04-11 15:31:20 -0700
commit9875750593aae7c2a62f33c620809d49162393eb (patch)
tree05696154ec1056b08a758f5741cdd7cd31a54587 /libs/utils/AssetManager.cpp
parent626d865d418cf3fcea985429ef85cf83f8cd978e (diff)
Kill the global references in the OpenGL wrappers.
Just use jniThrowException instead. Note that it would be trivial to throw seemingly more appropriate exceptions (NullPointerException and OutOfMemoryException in particular), but I'm only attempting to preserve existing behavior here. I also found shadowing bugs in some of the special-case functions, which would previously always have leaked memory. This also moves an accidental change to a generated file (ActivityThread -> AppGlobals) into the generator, so it won't be overwritten in future. Change-Id: Iab570310b568cb406c60dd0e2b8211f8a36ae590
Diffstat (limited to 'libs/utils/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions