Fixed Mac OS X build
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
diff --git a/src/render/metal/SDL_render_metal.m b/src/render/metal/SDL_render_metal.m
index 019c7a7..d6ae438 100644
--- a/src/render/metal/SDL_render_metal.m
+++ b/src/render/metal/SDL_render_metal.m
@@ -121,6 +121,19 @@ SDL_RenderDriver METAL_RenderDriver = {
@end
@implementation METAL_RenderData
+ @synthesize beginScene;
+ @synthesize mtldevice;
+ @synthesize mtlcmdqueue;
+ @synthesize mtlcmdbuffer;
+ @synthesize mtlcmdencoder;
+ @synthesize mtllibrary;
+ @synthesize mtlbackbuffer;
+ @synthesize mtlpipelineprims;
+ @synthesize mtlpipelinecopynearest;
+ @synthesize mtlpipelinecopylinear;
+ @synthesize mtlbufclearverts;
+ @synthesize mtllayer;
+ @synthesize mtlpassdesc;
@end
@interface METAL_TextureData : NSObject
@@ -819,10 +832,12 @@ METAL_DestroyRenderer(SDL_Renderer * renderer)
[data.mtlcmdqueue release];
for (int i = 0; i < 4; i++) {
[data.mtlpipelineprims[i] release];
- [data.mtlpipelinecopy[i] release];
+ [data.mtlpipelinecopynearest[i] release];
+ [data.mtlpipelinecopylinear[i] release];
}
[data.mtlpipelineprims release];
- [data.mtlpipelinecopy release];
+ [data.mtlpipelinecopynearest release];
+ [data.mtlpipelinecopylinear release];
[data.mtlbufclearverts release];
[data.mtllibrary release];
[data.mtldevice release];