Added back old rsClearObject() Bug: 28121289 To keep vendor drivers running without rebuild. This is simply a wrapper of the new rsClearObject() function without the first Context parameter. Change-Id: Ie84ca515274da609b7a0eb46fef9019dd691305c
diff --git a/rsScriptC_Lib.cpp b/rsScriptC_Lib.cpp index e38c7e8..b460031 100644 --- a/rsScriptC_Lib.cpp +++ b/rsScriptC_Lib.cpp
@@ -166,6 +166,11 @@ } // Legacy, remove when drivers are updated +void rsrClearObject(const Context *rsc, rs_object_base *dst) { + rsrClearObject(dst); +} + +// Legacy, remove when drivers are updated void rsrSetObject(const Context *rsc, void *dst, ObjectBase *src) { if (src == nullptr) { rsrClearObject(rsc, dst);