summaryrefslogtreecommitdiff
path: root/rsScript.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-10-10 17:58:25 -0700
committerJason Sams <rjsams@android.com>2010-10-10 17:58:25 -0700
commitd7e5481b2232b0532d3ab938b472355c86769a76 (patch)
treea143782c3645f670db9274641784ab4e741bf9fa /rsScript.cpp
parent63d52ac2d82c1423d2095286b1e75586f42f7554 (diff)
downloadrs-d7e5481b2232b0532d3ab938b472355c86769a76.tar.gz
Cleanup error message for null binding address.
Only print the debug if script debugging is enabled. Change-Id: I72b9c2a73d49987a73b354442e9defec02b93bc6 Implement inner utiliy class to specify surface formats. Remove boxed bitmap upload functions. Change-Id: I3ff5ca59e53d02b9d75277afa947ea3d218459eb
Diffstat (limited to 'rsScript.cpp')
-rw-r--r--rsScript.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/rsScript.cpp b/rsScript.cpp
index 0e76daef..c2f96891 100644
--- a/rsScript.cpp
+++ b/rsScript.cpp
@@ -66,7 +66,9 @@ void Script::setVar(uint32_t slot, const void *val, uint32_t len)
memcpy(destPtr, val, len);
//LOGE("setVar f2 %f", ((const float *)destPtr)[0]);
} else {
- LOGE("Calling setVar on slot = %i which is null", slot);
+ //if (rsc->props.mLogScripts) {
+ LOGV("Calling setVar on slot = %i which is null", slot);
+ //}
}
}