mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Enable default interpolation due to pixelated screen drawing (#53)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@40163 72102866-910b-0410-8b05-ffd578937521 Co-authored-by: Marcian Lytwyn <gna@advcsi.com>
This commit is contained in:
parent
4e3ca27c0b
commit
03a2e7e152
1 changed files with 10 additions and 0 deletions
|
@ -105,6 +105,16 @@
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (id) initWithContextInfo: (NSDictionary *)info
|
||||
{
|
||||
self = [super initWithContextInfo: info];
|
||||
if (self)
|
||||
{
|
||||
[self setImageInterpolation: NSImageInterpolationDefault];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (BOOL) isDrawingToScreen
|
||||
{
|
||||
CairoSurface *surface = nil;
|
||||
|
|
Loading…
Reference in a new issue