Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
kotleni committed Feb 23, 2024
1 parent 4be2d24 commit 6faf267
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ALVRClient/Renderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ final class Renderer {
}

func start(size: CGSize) {
// TODO: Maybe i should move it to app class?
let refreshRates: [Float] = [60]
let width = UInt32(size.width)
let oneViewWidth = (width / 2)
Expand All @@ -69,8 +70,8 @@ final class Renderer {
nil, nil,
oneViewWidth, height,
refreshRates, Int32(refreshRates.count),
/* external decoding */ true,
/* support foveated encoding */ false
/* support foveated encoding */ false,
/* external decoding */ true
)
alvr_resume()
alvr_request_idr()
Expand Down

0 comments on commit 6faf267

Please sign in to comment.