Bug 1211324 (part 2) - Make gfx::FILTER::GOOD convert to GraphicsFilter::FILTER_GOOD. r=mattwoodrow.

This commit is contained in:
Nicholas Nethercote 2015-10-04 22:37:47 -07:00
parent 453c05c3e7
commit 147a5bb519

View File

@ -77,6 +77,8 @@ inline GraphicsFilter ThebesFilter(Filter aFilter)
switch (aFilter) {
case Filter::POINT:
return GraphicsFilter::FILTER_NEAREST;
case Filter::GOOD:
return GraphicsFilter::FILTER_GOOD;
default:
return GraphicsFilter::FILTER_BEST;
}