summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2018-04-05 20:34:28 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-04-05 20:34:28 +0000
commit89238e9438500e2e92a98930e4617d9ca43462df (patch)
tree22e6aa059de6c70792c64ef7b10388cd487b062e
parent55d4747f838f94d9286f07e211f67337968be942 (diff)
parentb0bcd266e7a076d919608f700ce18524cab06c23 (diff)
Merge "EGL: Fix ARM assembly constraint." into pi-dev
-rw-r--r--opengl/libs/EGL/getProcAddress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/getProcAddress.cpp b/opengl/libs/EGL/getProcAddress.cpp
index c05e840f32..0183621299 100644
--- a/opengl/libs/EGL/getProcAddress.cpp
+++ b/opengl/libs/EGL/getProcAddress.cpp
@@ -54,7 +54,7 @@ namespace android {
: [tls] "J"(TLS_SLOT_OPENGL_API*4), \
[ext] "J"(__builtin_offsetof(gl_hooks_t, \
ext.extensions[0])), \
- [api] "J"(_api*sizeof(void*)) \
+ [api] "I"(_api*sizeof(void*)) \
: "r12" \
);