diff options
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 |
commit | d7e5481b2232b0532d3ab938b472355c86769a76 (patch) | |
tree | a143782c3645f670db9274641784ab4e741bf9fa /rsScriptC.cpp | |
parent | 63d52ac2d82c1423d2095286b1e75586f42f7554 (diff) | |
download | rs-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 'rsScriptC.cpp')
-rw-r--r-- | rsScriptC.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rsScriptC.cpp b/rsScriptC.cpp index d961fed8..e60255a2 100644 --- a/rsScriptC.cpp +++ b/rsScriptC.cpp @@ -81,7 +81,9 @@ void ScriptC::setupScript(Context *rsc) if (dest) { *dest = ptr; } else { - LOGE("ScriptC::setupScript, NULL var binding address."); + if (rsc->props.mLogScripts) { + LOGV("ScriptC::setupScript, NULL var binding address."); + } } } } |