From d7c41c74cd78f5da5eea8a31c52ce3e587e28750 Mon Sep 17 00:00:00 2001 From: reed Date: Wed, 6 May 2015 12:56:20 -0700 Subject: add flag to guard new miplevel code for skia change https://codereview.chromium.org/1131613002/ BUG= NOTRY=True win failure unrelated to this CL Review URL: https://codereview.chromium.org/1131663002 Cr-Commit-Position: refs/heads/master@{#328590} --- skia/config/SkUserConfig.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'skia') diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h index 84c28b8..e5acf00 100644 --- a/skia/config/SkUserConfig.h +++ b/skia/config/SkUserConfig.h @@ -249,6 +249,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal, # define SK_LEGACY_DRAWPICTURECALLBACK #endif +#ifndef SK_SUPPORT_LEGACY_ROUND_MIPMAP_LEVEL_CHOICE +# define SK_SUPPORT_LEGACY_ROUND_MIPMAP_LEVEL_CHOICE +#endif + #ifndef SK_SUPPORT_LEGACY_GETDEVICE # define SK_SUPPORT_LEGACY_GETDEVICE #endif -- cgit v1.1