Fix a spurious MSVC compiler warning
Bug: skia: Change-Id: I31b8c2e7d847ce11d89f5484cbd32c122d3baa6a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/213021 Commit-Queue: Chris Dalton <csmartdalton@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
This commit is contained in:
parent
797efcac71
commit
d1c57b63a8
@ -16,7 +16,7 @@ void GrOctoBounds::validateBoundsAreTight() const {
|
||||
|
||||
void GrOctoBounds::validateBoundsAreTight(const std::function<void(
|
||||
bool cond, const char* file, int line, const char* code)>& validateFn) const {
|
||||
constexpr static float epsilon = 1e-3;
|
||||
constexpr static float epsilon = 1e-3f;
|
||||
|
||||
float l=fBounds.left(), l45=fBounds45.left();
|
||||
float t=fBounds.top(), t45=fBounds45.top();
|
||||
|
Loading…
Reference in New Issue
Block a user