summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Ni <yangni@google.com>2017-04-12 16:05:01 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-04-12 16:05:02 +0000
commitec03868d2e39a70b4a989149342fb98823307b32 (patch)
treea07c39577b3ef197f04aab91491bd1445de46e3f
parent09545da641e3a839f3d90850f9e4741fb02afded (diff)
parent6651d072438b1ce3cb5c996ca36c15410cb31e07 (diff)
downloadrs-ec03868d2e39a70b4a989149342fb98823307b32.tar.gz
Merge "Fixed inccorect version check" into oc-dev
-rw-r--r--driver/runtime/rs_quaternion.c4
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))