commit | 80e334dad832d1f29dfa361f1fbc113378466634 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Thu Dec 05 09:23:47 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Dec 05 18:37:33 2019 +0000 |
tree | 37549294339dfcc27c9772ef852345171a73435c | |
parent | 786be72765c91f72849e6739d19525198bfad02c [diff] [blame] |
Remove most of GrConfig.h Change-Id: I0f693bed0778151f93d07cd42c6b597566695ab1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257999 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/ops/GrSmallPathRenderer.cpp b/src/gpu/ops/GrSmallPathRenderer.cpp index 742aa58..7f313e5 100644 --- a/src/gpu/ops/GrSmallPathRenderer.cpp +++ b/src/gpu/ops/GrSmallPathRenderer.cpp
@@ -319,7 +319,7 @@ int instanceCount = fShapes.count(); static constexpr int kMaxTextures = GrDistanceFieldPathGeoProc::kMaxTextures; - GR_STATIC_ASSERT(GrBitmapTextGeoProc::kMaxTextures == kMaxTextures); + static_assert(GrBitmapTextGeoProc::kMaxTextures == kMaxTextures); FlushInfo flushInfo; flushInfo.fFixedDynamicState = target->makeFixedDynamicState(kMaxTextures);