Remove a warning.
git-svn-id: http://skia.googlecode.com/svn/trunk@1303 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
823c973d3d
commit
a8a57be564
@ -216,8 +216,8 @@ static void coefficientString(GrStringBuilder& str, SkXfermode::Coeff coeff,
|
||||
static void addColorFilter(GrStringBuilder& FSCode, const char * outputVar,
|
||||
SkXfermode::Mode colorFilterXfermode, const char* dstColor) {
|
||||
SkXfermode::Coeff srcCoeff, dstCoeff;
|
||||
bool success = SkXfermode::ModeAsCoeff(colorFilterXfermode,
|
||||
&srcCoeff, &dstCoeff);
|
||||
SkDEBUGCODE(bool success =)
|
||||
SkXfermode::ModeAsCoeff(colorFilterXfermode, &srcCoeff, &dstCoeff);
|
||||
// We currently do not handle modes that cannot be represented as
|
||||
// coefficients.
|
||||
GrAssert(success);
|
||||
|
Loading…
Reference in New Issue
Block a user