Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff474434 authored by Amit Kumar's avatar Amit Kumar 💻
Browse files

Change blur scheme to native instead of OpenGL as OpenGL causes trouble on some devices

parent 92e74a1c
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ class BlurWallpaperFilter(private val context: Context) : WallpaperFilter {
    override fun apply(wallpaper: Bitmap): WallpaperFilter.ApplyTask {
        return WallpaperFilter.ApplyTask.create { emitter ->
            HokoBlur.with(context)
                .scheme(HokoBlur.SCHEME_OPENGL)
                .scheme(HokoBlur.SCHEME_NATIVE)
                .mode(HokoBlur.MODE_STACK)
                .radius(blurRadius)
                .sampleFactor(8f)