diff options
author | 2009-08-27 20:23:34 -0700 | |
---|---|---|
committer | 2009-08-27 20:23:34 -0700 | |
commit | 07ae40623737a6060b8a925fd2e6bba76780dcd4 (patch) | |
tree | 74278403aa4fa761f05ae030abbbd64ff8635b4a /libs/rs/rsProgramFragment.cpp | |
parent | 0409cde3601131caf14c88d132c65d74774bbd79 (diff) |
Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
Diffstat (limited to 'libs/rs/rsProgramFragment.cpp')
-rw-r--r-- | libs/rs/rsProgramFragment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/rsProgramFragment.cpp b/libs/rs/rsProgramFragment.cpp index 654974fe3621..0adce75cb430 100644 --- a/libs/rs/rsProgramFragment.cpp +++ b/libs/rs/rsProgramFragment.cpp @@ -227,7 +227,7 @@ void rsi_ProgramFragmentSetSlot(Context *rsc, uint32_t slot, bool enable, RsTexE RsProgramFragment rsi_ProgramFragmentCreate(Context *rsc) { ProgramFragment *pf = rsc->mStateFragment.mPF; - pf->incRef(); + pf->incUserRef(); rsc->mStateFragment.mPF = 0; return pf; } |