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 --- tests/ImageTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ImageTest.cpp') 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