summaryrefslogtreecommitdiff
path: root/libs/rs/rsAllocation.cpp
diff options
context:
space:
mode:
author Alex Sakhartchouk <alexst@google.com> 2011-05-06 14:59:45 -0700
committer Alex Sakhartchouk <alexst@google.com> 2011-05-06 14:59:45 -0700
commit407cae950325682a56fe5373dd218a666da901ef (patch)
tree0a2a4bbc602f2a9ff4103cfd3641992d2a9214b4 /libs/rs/rsAllocation.cpp
parent6b7d778fa7420a45e54a78fb3e034cb68ad6c4bd (diff)
rsLib cleanup
Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
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 b5f6f5608bcf..5b84ca60c87c 100644
--- a/libs/rs/rsAllocation.cpp
+++ b/libs/rs/rsAllocation.cpp
@@ -209,7 +209,7 @@ void Allocation::uploadToTexture(const Context *rsc) {
freeScriptMemory();
}
- rsc->checkError("Allocation::uploadToTexture");
+ //rsc->checkError("Allocation::uploadToTexture");
#endif //ANDROID_RS_SERIALIZE
}
@@ -334,7 +334,7 @@ void Allocation::uploadToBufferObject(const Context *rsc) {
glBindBuffer(target, mBufferID);
glBufferData(target, mHal.state.type->getSizeBytes(), getPtr(), GL_DYNAMIC_DRAW);
glBindBuffer(target, 0);
- rsc->checkError("Allocation::uploadToBufferObject");
+ //rsc->checkError("Allocation::uploadToBufferObject");
#endif //ANDROID_RS_SERIALIZE
}