From beb0c2aa32622d90dd85aa9723ed6b7c3e2139bd Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Fri, 20 Sep 2013 20:05:01 +0000 Subject: use new globally scoped SkAlphaType git-svn-id: http://skia.googlecode.com/svn/trunk@11424 2bbb7eff-a529-9590-31e7-b0007b416f81 --- platform_tools/android/examples/hello_skia_app/jni/helloskia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform_tools') diff --git a/platform_tools/android/examples/hello_skia_app/jni/helloskia.cpp b/platform_tools/android/examples/hello_skia_app/jni/helloskia.cpp index a06e695452..5e60439ed2 100644 --- a/platform_tools/android/examples/hello_skia_app/jni/helloskia.cpp +++ b/platform_tools/android/examples/hello_skia_app/jni/helloskia.cpp @@ -27,7 +27,7 @@ JNIEXPORT void JNICALL Java_com_example_HelloSkiaActivity_drawIntoBitmap(JNIEnv* AndroidBitmap_lockPixels(env, dstBitmap, &dstPixels); SkImage::Info info = { - dstInfo.width, dstInfo.height, SkImage::kPMColor_ColorType, SkImage::kPremul_AlphaType + dstInfo.width, dstInfo.height, SkImage::kPMColor_ColorType,kPremul_SkAlphaType }; // Create a surface from the given bitmap -- cgit v1.2.3