commit | fa77db83d3e36d6aa23622cec5bdcb5e373f0a3b | [log] [tgz] |
---|---|---|
author | Tim Murray <timmurray@google.com> | Thu Aug 29 11:07:17 2013 -0700 |
committer | Tim Murray <timmurray@google.com> | Tue Sep 03 11:41:56 2013 -0700 |
tree | fd5274a7d95660f0c849a7a4f7fa57644e65c2ad | |
parent | 927edc2b99b73d1f236320663ed7ed4cfeee2f91 [diff] [blame] |
Fix dispatch issue with ScriptIntrinsic. bug 10427951 Change-Id: I5bd1a6b4970ae10779920bc64c78e6951e9abdec
diff --git a/cpp/rsCppInternal.h b/cpp/rsCppInternal.h index 56ed5a3..3f1e130 100644 --- a/cpp/rsCppInternal.h +++ b/cpp/rsCppInternal.h
@@ -22,4 +22,7 @@ dispatch; \ } +#define createDispatch(rs, dispatch) \ + rs->getError() == RS_SUCCESS ? dispatch : NULL + #endif