diff options
Diffstat (limited to 'rsAdapter.cpp')
-rw-r--r-- | rsAdapter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsAdapter.cpp b/rsAdapter.cpp index 3242e11d..d20e9101 100644 --- a/rsAdapter.cpp +++ b/rsAdapter.cpp @@ -72,7 +72,7 @@ namespace renderscript { RsAdapter1D rsi_Adapter1DCreate(Context *rsc) { Adapter1D *a = new Adapter1D(); - a->incRef(); + a->incUserRef(); return a; } @@ -185,7 +185,7 @@ namespace renderscript { RsAdapter2D rsi_Adapter2DCreate(Context *rsc) { Adapter2D *a = new Adapter2D(); - a->incRef(); + a->incUserRef(); return a; } |