From 5d4604b5e676358831dfcbcaae9dc9d78cf01f41 Mon Sep 17 00:00:00 2001 From: Oleg Maximenko Date: Mon, 26 Feb 2018 17:58:58 +0300 Subject: Fix assert format string in GrContext_colorTypeSupportedAsImage test. Change-Id: I3a7aa0270d1e30095fda8e6a44059ecf826ac509 Reviewed-on: https://skia-review.googlesource.com/110100 Commit-Queue: Brian Salomon Reviewed-by: Brian Salomon --- AUTHORS | 2 +- tests/ImageTest.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index ab930810d8..3fff907877 100644 --- a/AUTHORS +++ b/AUTHORS @@ -24,7 +24,6 @@ Herb Derby Igalia <*@igalia.com> Intel <*@intel.com> Ion Rosca -Ivan Afanasyev Jacek Caban Jeff Muizelaar Lee Salzman @@ -49,3 +48,4 @@ Linaro <*@linaro.org> Christian Plesner Hansen Marco Alesiani 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(); -- cgit v1.2.3