diff options
author | Yang Ni <yangni@google.com> | 2017-04-12 16:05:01 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-04-12 16:05:02 +0000 |
commit | ec03868d2e39a70b4a989149342fb98823307b32 (patch) | |
tree | a07c39577b3ef197f04aab91491bd1445de46e3f | |
parent | 09545da641e3a839f3d90850f9e4741fb02afded (diff) | |
parent | 6651d072438b1ce3cb5c996ca36c15410cb31e07 (diff) | |
download | rs-ec03868d2e39a70b4a989149342fb98823307b32.tar.gz |
Merge "Fixed inccorect version check" into oc-dev
-rw-r--r-- | driver/runtime/rs_quaternion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/runtime/rs_quaternion.c b/driver/runtime/rs_quaternion.c index 8fbfd200..742a3268 100644 --- a/driver/runtime/rs_quaternion.c +++ b/driver/runtime/rs_quaternion.c @@ -7,7 +7,7 @@ // Quaternion ops ///////////////////////////////////////////////////// -#if (defined(RS_VERSION) && (RS_VERSION >= UNRELEASED)) +#if (defined(RS_VERSION) && (RS_VERSION >= 24)) extern void __attribute__((overloadable)) rsQuaternionAdd(rs_quaternion* q, const rs_quaternion* rhs) { q->w += rhs->w; @@ -166,4 +166,4 @@ extern void __attribute__((overloadable)) rsQuaternionSet(q, tempq0.w*scale + tempq1.w*invScale, tempq0.x*scale + tempq1.x*invScale, tempq0.y*scale + tempq1.y*invScale, tempq0.z*scale + tempq1.z*invScale); } -#endif // (defined(RS_VERSION) && (RS_VERSION >= UNRELEASED)) +#endif // (defined(RS_VERSION) && (RS_VERSION >= 24)) |