We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f0f2ff1 + 795072e commit 3c1951cCopy full SHA for 3c1951c
libs/rs/driver/rsdBcc.cpp
@@ -302,7 +302,10 @@ void rsdScriptInvokeForEach(const Context *rsc,
302
DrvScript *drv = (DrvScript *)s->mHal.drv;
303
// We only support slot 0 (root) at this point in time.
304
rsAssert(slot == 0);
305
- mtls.sig = drv->mExportForEachSignatureList[slot];
+ mtls.sig = 0x1f; // temp fix for old apps, full table in slang_rs_export_foreach.cpp
306
+ if (drv->mExportForEachSignatureList) {
307
+ mtls.sig = drv->mExportForEachSignatureList[slot];
308
+ }
309
if (ain) {
310
mtls.dimX = ain->getType()->getDimX();
311
mtls.dimY = ain->getType()->getDimY();
0 commit comments