forked from firka/flutter
remote tilemode count check, so Skia can add another one (flutter/engine#4692)
This commit is contained in:
committed by
Brian Osman
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();
|
||||
|
||||
Reference in New Issue
Block a user