diff options
| author | Jason Sams <rjsams@android.com> | 2009-08-27 20:23:34 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-08-27 20:23:34 -0700 |
| commit | 9397e30ce5fe3f6af9212a93b490836b04fdfffa (patch) | |
| tree | 2fb69188c1c0f34d02f73f698f67d68cdcaa808c /rsScriptC.cpp | |
| parent | 306fb23e57c4a389eaf3159b9701a64cb56e284e (diff) | |
Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
Diffstat (limited to 'rsScriptC.cpp')
| -rw-r--r-- | rsScriptC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsScriptC.cpp b/rsScriptC.cpp index 94198297..0c7ac184 100644 --- a/rsScriptC.cpp +++ b/rsScriptC.cpp @@ -334,7 +334,7 @@ RsScript rsi_ScriptCCreate(Context * rsc) ss->runCompiler(rsc); ScriptC *s = new ScriptC(); - s->incRef(); + s->incUserRef(); s->mAccScript = ss->mAccScript; ss->mAccScript = NULL; s->mEnviroment = ss->mEnviroment; |
