diff options
| author | Tim Murray <timmurray@google.com> | 2014-02-03 22:36:45 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-02-03 22:36:45 +0000 |
| commit | b4cf2a2aee78b0ed3e75b5a07baaf5479fe708d9 (patch) | |
| tree | aeb1718593854c711147091e059237c758451a0e /graphics/java/android/renderscript/Path.java | |
| parent | e22e268e6d158f37173b1bce37a5614daabcf18c (diff) | |
| parent | 7a629fac82f88126642081b4474879f6a883e313 (diff) | |
| download | frameworks_base-b4cf2a2aee78b0ed3e75b5a07baaf5479fe708d9.zip frameworks_base-b4cf2a2aee78b0ed3e75b5a07baaf5479fe708d9.tar.gz frameworks_base-b4cf2a2aee78b0ed3e75b5a07baaf5479fe708d9.tar.bz2 | |
Merge "Convert Java/JNI to 64-bit, part 2."
Diffstat (limited to 'graphics/java/android/renderscript/Path.java')
| -rw-r--r-- | graphics/java/android/renderscript/Path.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/java/android/renderscript/Path.java b/graphics/java/android/renderscript/Path.java index 9c4d41b..5cc67de 100644 --- a/graphics/java/android/renderscript/Path.java +++ b/graphics/java/android/renderscript/Path.java @@ -41,7 +41,7 @@ public class Path extends BaseObj { float mQuality; boolean mCoverageToAlpha; - Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { + Path(long id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { super(id, rs); mVertexBuffer = vtx; mLoopBuffer = loop; @@ -67,7 +67,7 @@ public class Path extends BaseObj { public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { - int id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); + long id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); Path newPath = new Path(id, rs, p, null, null, quality); return newPath; } |
