diff options
author | Oleg Maximenko <olegmax@yandex-team.ru> | 2018-02-26 17:58:58 +0300 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-26 17:02:38 +0000 |
commit | 5d4604b5e676358831dfcbcaae9dc9d78cf01f41 (patch) | |
tree | 9d81f54b7967fb5e2d30a1ced31c45c43e275715 | |
parent | 934c3d0c548d254a0d986963ee751caf0ffcb500 (diff) |
Fix assert format string in GrContext_colorTypeSupportedAsImage test.
Change-Id: I3a7aa0270d1e30095fda8e6a44059ecf826ac509
Reviewed-on: https://skia-review.googlesource.com/110100
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | tests/ImageTest.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,6 @@ Herb Derby <herbderby@gmail.com> Igalia <*@igalia.com> Intel <*@intel.com> Ion Rosca <rosca@adobe.com> -Ivan Afanasyev <ivafanas@yandex-team.ru> Jacek Caban <cjacek@gmail.com> Jeff Muizelaar <jmuizelaar@mozilla.com> Lee Salzman <lsalzman@mozilla.com> @@ -49,3 +48,4 @@ Linaro <*@linaro.org> Christian Plesner Hansen <plesner@t.undra.org> Marco Alesiani <marco.diiga@gmail.com> Adobe Systems Incorporated <*@adobe.com> +Yandex LLC <*@yandex-team.ru> diff --git a/tests/ImageTest.cpp b/tests/ImageTest.cpp index 873f0eea95..619b52d6e2 100644 --- a/tests/ImageTest.cpp +++ b/tests/ImageTest.cpp @@ -499,7 +499,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrContext_colorTypeSupportedAsImage, reporter SkImage::MakeFromTexture(ctxInfo.grContext(), backendTex, kTopLeft_GrSurfaceOrigin, colorType, kOpaque_SkAlphaType, nullptr); REPORTER_ASSERT(reporter, can == SkToBool(img), - "%d, colorTypeSupportedAsImage:%d, actual:%d, ct:%d", can, SkToBool(img), + "colorTypeSupportedAsImage:%d, actual:%d, ct:%d", can, SkToBool(img), colorType); img.reset(); |