diff options
author | Jamie Gennis <jgennis@google.com> | 2012-12-11 17:00:29 -0800 |
---|---|---|
committer | Jamie Gennis <jgennis@google.com> | 2012-12-11 17:02:31 -0800 |
commit | 82bb813f112d9565faa990e32dbe833f96461892 (patch) | |
tree | 9defa364354f0d9135a8b0b9b2b1b18f0c645afe /graphics/jni | |
parent | bbb970386026ec16b3cff1be280d0b9160cacad4 (diff) | |
download | frameworks_base-82bb813f112d9565faa990e32dbe833f96461892.zip frameworks_base-82bb813f112d9565faa990e32dbe833f96461892.tar.gz frameworks_base-82bb813f112d9565faa990e32dbe833f96461892.tar.bz2 |
stop using a deprecated SurfaceTextureClient ctor
Change-Id: Ie6196ba4896c0ab37b9aed3d1a4ffd04c99c5f80
Diffstat (limited to 'graphics/jni')
-rw-r--r-- | graphics/jni/android_renderscript_RenderScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/jni/android_renderscript_RenderScript.cpp b/graphics/jni/android_renderscript_RenderScript.cpp index b320e4b..e0470dc 100644 --- a/graphics/jni/android_renderscript_RenderScript.cpp +++ b/graphics/jni/android_renderscript_RenderScript.cpp @@ -247,7 +247,7 @@ nContextSetSurfaceTexture(JNIEnv *_env, jobject _this, RsContext con, jint width } else { st = SurfaceTexture_getSurfaceTexture(_env, sur); - window = new SurfaceTextureClient(st); + window = new SurfaceTextureClient(st->getBufferQueue()); } rsContextSetSurface(con, width, height, window.get()); |