We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40047fa commit 795072eCopy full SHA for 795072e
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