commit | af951c9bc4cbb6e60b430194fe5127ebe99c53fb | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jun 16 19:10:39 2011 +0000 |
committer | [email protected] <[email protected]@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jun 16 19:10:39 2011 +0000 |
tree | b1eba8d71a9db8d02de1cf5ca0c13f7a5f6f1e4e | |
parent | 3cbd37535083a83d517e9d032ba732c2ff8afc6b [diff] [blame] |
make SkDevice constructors explicit between offscreen and on/direct http://codereview.appspot.com/4632044/ git-svn-id: http://skia.googlecode.com/svn/trunk@1620 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleTextureDomain.cpp b/samplecode/SampleTextureDomain.cpp index be000f9..37f584e 100755 --- a/samplecode/SampleTextureDomain.cpp +++ b/samplecode/SampleTextureDomain.cpp
@@ -55,7 +55,7 @@ // when copying from one GPU device to another. SkRefPtr<SkDevice> primaryDevice(canvas->getDevice()); SkRefPtr<SkDevice> secondDevice(canvas->createDevice( - SkBitmap::kARGB_8888_Config, 5, 5, true, true)); + SkBitmap::kARGB_8888_Config, 5, 5, true)); secondDevice->unref(); SkCanvas secondCanvas(secondDevice.get());