[Commits] SDL: metal: Fix a typo preventing iOS compilation...

libsdl.org revision control commits-owner at libsdl.org
Mon Jan 1 19:06:22 PST 2018


details:   https://hg.libsdl.org/SDL/rev/ccf4e7af3583
changeset: 11805:ccf4e7af3583
user:      Alex Szpakowski <slime73 at gmail.com>
date:      Mon Jan 01 23:06:08 2018 -0400
description:
metal: Fix a typo preventing iOS compilation...

diffstat:

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

diffs (21 lines):

diff -r 8dce4b0683e6 -r ccf4e7af3583 src/render/metal/SDL_render_metal.m
--- a/src/render/metal/SDL_render_metal.m	Mon Jan 01 23:03:50 2018 -0400
+++ b/src/render/metal/SDL_render_metal.m	Mon Jan 01 23:06:08 2018 -0400
@@ -151,7 +151,7 @@
 @end
 
 @implementation METAL_RenderData
-#if !__has_feature(obc_arc)
+#if !__has_feature(objc_arc)
 - (void)dealloc
 {
     [_mtldevice release];
@@ -177,7 +177,7 @@
 @end
 
 @implementation METAL_TextureData
-#if !__has_feature(obc_arc)
+#if !__has_feature(objc_arc)
 - (void)dealloc
 {
     [_mtltexture release];


More information about the commits mailing list