Skip to content

Commit 4c26e3e

Browse files
metal-render-fix5
1 parent 2962d6a commit 4c26e3e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

OpenParsec/AppDelegate.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ class AppDelegate:UIResponder, UIApplicationDelegate
66
func application(_ application:UIApplication, didFinishLaunchingWithOptions launchOptions:[UIApplication.LaunchOptionsKey: Any]?) -> Bool
77
{
88
// Override point for customization after application launch.
9-
Logger.setupIfNeeded()
10-
Logger.log("App launched")
119
UTMViewControllerPatches.patchAll()
1210
return true
1311
}

OpenParsec/ParsecSDKBridge.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ class ParsecSDKBridge: ParsecService
235235
var cqOpaque: UnsafeMutableRawPointer? = Unmanaged.passUnretained(queue).toOpaque()
236236
var texOpaque: UnsafeMutableRawPointer? = Unmanaged.passUnretained(drawable.texture).toOpaque()
237237
let status = ParsecClientMetalRenderFrame(self._parsec, UInt8(DEFAULT_STREAM), &cqOpaque, &texOpaque, nil, nil, 16)
238-
Logger.log("MetalRender status: \(status.rawValue)")
239238
drawable.present()
240239
}
241240
}
@@ -264,9 +263,8 @@ class ParsecSDKBridge: ParsecService
264263

265264
ParsecSetLogCallback(
266265
{ (level, msg, opaque) in
267-
let line = "[\(level == LOG_DEBUG ? \"D\" : \"I\")] \(String(cString:msg!))"
266+
let line = "[\(level == LOG_DEBUG ? "D" : "I")] \(String(cString: msg!))"
268267
print(line)
269-
Logger.log(line)
270268
}, nil)
271269

272270
audio_init(&_audio)

0 commit comments

Comments
 (0)