diff options
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java index 0a45e83de..cfbb560c7 100644 --- a/src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java +++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterRS.java @@ -141,7 +141,7 @@ public abstract class ImageFilterRS extends ImageFilter { return bitmap; } - private static Allocation convertBitmap(Bitmap bitmap) { + protected static Allocation convertBitmap(Bitmap bitmap) { return Allocation.createFromBitmap(CachingPipeline.getRenderScriptContext(), bitmap, Allocation.MipmapControl.MIPMAP_NONE, Allocation.USAGE_SCRIPT | Allocation.USAGE_GRAPHICS_TEXTURE); |