Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1211324 (part 2) - Make gfx::FILTER::GOOD convert to GraphicsFilt…
Browse files Browse the repository at this point in the history
…er::FILTER_GOOD. r=mattwoodrow.
  • Loading branch information
nnethercote committed Oct 5, 2015
1 parent 504b980 commit eb190d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gfx/thebes/gfx2DGlue.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit eb190d6

Please sign in to comment.