[Commits] SDL: Fixed Mac OS X build

libsdl.org revision control commits-owner at libsdl.org
Mon Dec 11 11:05:51 PST 2017


details:   https://hg.libsdl.org/SDL/rev/05cdab5a00f8
changeset: 11759:05cdab5a00f8
user:      Sam Lantinga <slouken at libsdl.org>
date:      Mon Dec 11 11:02:51 2017 -0800
description:
Fixed Mac OS X build

diffstat:

 src/render/metal/SDL_render_metal.m |  19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r c70cf178aacb -r 05cdab5a00f8 src/render/metal/SDL_render_metal.m
--- a/src/render/metal/SDL_render_metal.m	Sun Dec 10 09:17:33 2017 -0800
+++ b/src/render/metal/SDL_render_metal.m	Mon Dec 11 11:02:51 2017 -0800
@@ -121,6 +121,19 @@
 @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 @@
         [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];


More information about the commits mailing list