aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkColorSpacePriv.h
blob: e7c8aaa10382345f44a30449f43fe1b55844952e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Copyright 2016 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#define SkColorSpacePrintf(...)

inline bool color_space_almost_equal(float a, float b) {
    return SkTAbs(a - b) < 0.01f;
}