diff options
author | Jason Sams <rjsams@android.com> | 2009-07-21 12:20:54 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2009-07-21 12:20:54 -0700 |
commit | ee41112e1539de95596600fd2c6dada5d275217f (patch) | |
tree | 669b445213276b1f57f4f35f314fb9997b88c26c /libs/rs/rsScriptC.cpp | |
parent | c7b0dba641d5417286caa3694e70b039012d1e91 (diff) |
Enable light sources and update film test app.
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
-rw-r--r-- | libs/rs/rsScriptC.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index e0928c3c53bc..842c836b9ec5 100644 --- a/libs/rs/rsScriptC.cpp +++ b/libs/rs/rsScriptC.cpp @@ -103,14 +103,10 @@ void ScriptCState::clear() static ACCvoid* symbolLookup(ACCvoid* pContext, const ACCchar* name) { const ScriptCState::SymbolTable_t *sym = ScriptCState::lookupSymbol(name); - if (sym) { return sym->mPtr; } - LOGE("ScriptC sym lookup failed for %s", name); - - // Default to calling dlsym to allow any global symbol: return NULL; } @@ -121,7 +117,7 @@ void ScriptCState::runCompiler(Context *rsc) rsc->appendNameDefines(&tmp); appendDecls(&tmp); - //tmp.append("#line 1\n"); + tmp.append("#line 1\n"); const char* scriptSource[] = {tmp.string(), mProgram.mScriptText}; int scriptLength[] = {tmp.length(), mProgram.mScriptTextLength} ; |