mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Update to use SurfaceConfig.
Change-Id: Ic99c1406ef8f51fdf7d9d44e378eeb0bb701a69e
This commit is contained in:
@@ -146,7 +146,10 @@ public class AllApps3D extends RSSurfaceView
|
||||
getHolder().setFormat(PixelFormat.TRANSLUCENT);
|
||||
|
||||
if (sRS == null) {
|
||||
sRS = createRenderScript(true);
|
||||
RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig();
|
||||
sc.setDepth(16, 16);
|
||||
sc.setAlpha(8, 8);
|
||||
sRS = createRenderScript(sc);
|
||||
} else {
|
||||
createRenderScript(sRS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user