summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsScriptC_LibGL.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2011-03-01 17:34:59 -0800
committerStephen Hines <srhines@google.com>2011-03-03 16:12:43 -0800
commit1bf1f8df178170ee3d4224f3c92a1b724d783178 (patch)
treedb5f215ea7f56536aab50df6655346ee98cfc116 /libs/rs/rsScriptC_LibGL.cpp
parent3080b85c2ef8846099ae86cd8fea65592a6a591d (diff)
downloadframeworks_base-1bf1f8df178170ee3d4224f3c92a1b724d783178.zip
frameworks_base-1bf1f8df178170ee3d4224f3c92a1b724d783178.tar.gz
frameworks_base-1bf1f8df178170ee3d4224f3c92a1b724d783178.tar.bz2
DO NOT MERGE: Almost all warnings are now errors in RS build.
Change-Id: Ie4952cdf5c75bf1b7a7899a32b3b1f8747686356
Diffstat (limited to 'libs/rs/rsScriptC_LibGL.cpp')
-rw-r--r--libs/rs/rsScriptC_LibGL.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsScriptC_LibGL.cpp b/libs/rs/rsScriptC_LibGL.cpp
index 48a0969..15426bc 100644
--- a/libs/rs/rsScriptC_LibGL.cpp
+++ b/libs/rs/rsScriptC_LibGL.cpp
@@ -281,11 +281,13 @@ static void SC_allocationSyncAll(RsAllocation va) {
static_cast<Allocation *>(va)->syncAll(rsc, RS_ALLOCATION_USAGE_SCRIPT);
}
+#if 0
static void SC_allocationSyncAll2(RsAllocation va, RsAllocationUsageType source) {
CHECK_OBJ(va);
GET_TLS();
static_cast<Allocation *>(va)->syncAll(rsc, source);
}
+#endif
static void SC_ClearColor(float r, float g, float b, float a) {
GET_TLS();