Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
This commit is contained in:
@@ -37,12 +37,6 @@ namespace android {
|
||||
namespace renderscript {
|
||||
|
||||
|
||||
void rsi_ScriptDestroy(Context * rsc, RsScript vs)
|
||||
{
|
||||
Script *s = static_cast<Script *>(vs);
|
||||
s->decRef();
|
||||
}
|
||||
|
||||
void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot)
|
||||
{
|
||||
Script *s = static_cast<Script *>(vs);
|
||||
|
||||
Reference in New Issue
Block a user