Fix comparison of GrPaint::fCoverage (which is a byte not a uint32_t)

git-svn-id: http://skia.googlecode.com/svn/trunk@3527 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2012-03-28 18:45:58 +00:00
Родитель d91f370835
Коммит 4fd99ea449
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1944,7 +1944,7 @@ void GrContext::setPaint(const GrPaint& paint) {
fDrawState->setCoverage(paint.fCoverage); fDrawState->setCoverage(paint.fCoverage);
#if GR_DEBUG #if GR_DEBUG
if ((paint.getActiveMaskStageMask() || 0xffffffff != paint.fCoverage) && if ((paint.getActiveMaskStageMask() || 0xff != paint.fCoverage) &&
!fGpu->canApplyCoverage()) { !fGpu->canApplyCoverage()) {
GrPrintf("Partial pixel coverage will be incorrectly blended.\n"); GrPrintf("Partial pixel coverage will be incorrectly blended.\n");
} }