mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
remote tilemode count check, so Skia can add another one (flutter/engine#4692)
This commit is contained in:
parent
db4e089e22
commit
5d26fdffeb
@ -17,7 +17,8 @@ class DartLibraryNatives;
|
||||
|
||||
namespace blink {
|
||||
|
||||
static_assert(SkShader::kTileModeCount == 3, "Need to update tile mode enum");
|
||||
// TODO: update this if/when Skia adds Decal mode skbug.com/7638
|
||||
static_assert(SkShader::kTileModeCount >= 3, "Need to update tile mode enum");
|
||||
|
||||
class CanvasGradient : public Shader {
|
||||
DEFINE_WRAPPERTYPEINFO();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user