summaryrefslogtreecommitdiff
path: root/libs/rs/rsAllocation.cpp
diff options
context:
space:
mode:
author Stephen Hines <srhines@google.com> 2011-03-01 17:34:59 -0800
committer Stephen Hines <srhines@google.com> 2011-03-01 22:13:40 -0800
commit60f9a621e899ed7fa176e12f1b57f10afa5a5d66 (patch)
tree42f7d0bbbc11fa355b13caa4da4eac0ca23d3cd0 /libs/rs/rsAllocation.cpp
parent9c4086a6765cca1eb215f9a307038544b295792b (diff)
Almost all warnings are now errors in RS build.
Change-Id: Ie22eccdafbc95d1f903c73007dd3fb0ad10af7cc
Diffstat (limited to 'libs/rs/rsAllocation.cpp')
-rw-r--r--libs/rs/rsAllocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsAllocation.cpp b/libs/rs/rsAllocation.cpp
index 54dcbcbefc30..ec03a158871f 100644
--- a/libs/rs/rsAllocation.cpp
+++ b/libs/rs/rsAllocation.cpp
@@ -21,8 +21,6 @@
#include <GLES/glext.h>
#endif //ANDROID_RS_SERIALIZE
-static void rsaAllocationGenerateScriptMips(RsContext con, RsAllocation va);
-
using namespace android;
using namespace android::renderscript;
@@ -602,6 +600,8 @@ void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) {
//
#ifndef ANDROID_RS_SERIALIZE
+static void rsaAllocationGenerateScriptMips(RsContext con, RsAllocation va);
+
namespace android {
namespace renderscript {