diff options
| author | 2009-08-17 13:56:09 -0700 | |
|---|---|---|
| committer | 2009-08-17 13:56:09 -0700 | |
| commit | 334ea0c98f051b5a6b85bc616c93304651854298 (patch) | |
| tree | b3d87acd4f6285446fdc166d0ec9bb5330f42c21 /libs/rs/rsScriptC.cpp | |
| parent | 0ef135d5c79ff5b443b43f8743250044700a8bb5 (diff) | |
Update fountain and add writable flag to script slots.
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
| -rw-r--r-- | libs/rs/rsScriptC.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index ced251632886..db4fd09d9faf 100644 --- a/libs/rs/rsScriptC.cpp +++ b/libs/rs/rsScriptC.cpp @@ -93,6 +93,7 @@ void ScriptCState::clear() for (uint32_t ct=0; ct < MAX_SCRIPT_BANKS; ct++) { mConstantBufferTypes[ct].clear(); mSlotNames[ct].setTo(""); + mSlotWritable[ct] = false; } memset(&mEnviroment, 0, sizeof(mEnviroment)); @@ -341,6 +342,7 @@ RsScript rsi_ScriptCCreate(Context * rsc) for (int ct=0; ct < MAX_SCRIPT_BANKS; ct++) { s->mTypes[ct].set(ss->mConstantBufferTypes[ct].get()); s->mSlotNames[ct] = ss->mSlotNames[ct]; + s->mSlotWritable[ct] = ss->mSlotWritable[ct]; } ss->clear(); |