Adds threadmanager in to deal with per thread memory

This commit is contained in:
Curtis Hard
2022-04-20 12:14:59 +01:00
parent 5ac8aa8760
commit 533c369eb8
17 changed files with 205 additions and 113 deletions
+2 -3
View File
@@ -18,8 +18,7 @@
- (id)initWithFrame:(NSRect)frameRect
{
if( ( self = [super initWithFrame:frameRect] ) != nil )
{
if( ( self = [super initWithFrame:frameRect] ) != nil ) {
svg = [self svg].retain;
svg.renderQuality = kIJSVGRenderQualityFullResolution;
svg.renderingBackingScaleHelper = ^{
@@ -31,7 +30,7 @@
- (IJSVG *)svg
{
return [IJSVG svgNamed:@"heart"];
return [IJSVG svgNamed:@"car"];
}
- (void)drawRect:(NSRect)dirtyRect