summaryrefslogtreecommitdiff
path: root/libs/rs/rsScript.cpp
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2010-10-10 17:58:25 -0700
committer Jason Sams <rjsams@android.com> 2010-10-10 17:58:25 -0700
commit2222aa90031604e9752ebc2909303a84139b8b18 (patch)
tree221332fe04b58b792d1c40cfca730948cf4ccca5 /libs/rs/rsScript.cpp
parent7499a1ca68ba115efcf53f6a06520c579c44364d (diff)
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 'libs/rs/rsScript.cpp')
-rw-r--r--libs/rs/rsScript.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp
index 0e76daef1c27..c2f9689131bd 100644
--- a/libs/rs/rsScript.cpp
+++ b/libs/rs/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);
+ //}
}
}