am f56ae199: Merge "Update GLES codegen to be in sync with frameworks/base"

* commit 'f56ae1999948393ba8c207525d6466ee424c4467':
  Update GLES codegen to be in sync with frameworks/base
This commit is contained in:
Narayan Kamath 2014-03-08 01:51:14 +00:00 committed by Android Git Automerger
commit 2f5a887ebf

View File

@ -182,7 +182,7 @@ getDirectBufferPointer(JNIEnv *_env, jobject buffer) {
if (array) {
releasePointer(_env, array, buf, 0);
}
buf = buf + offset;
buf = (char*)buf + offset;
} else {
jniThrowException(_env, "java/lang/IllegalArgumentException",
"Must use a native order direct Buffer");