Skip to content
Permalink
Browse files

- fixed compilation of debug target with older macOS SDKs

src/posix/cocoa/i_video.mm:633:31: error: property 'layer' not found on object of type 'id'
  • Loading branch information
alexey-lysiuk committed Jan 6, 2020
1 parent eeddd72 commit fca492df2b1c10aa1f5fb23aeccc1c4a6c651f84
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/posix/cocoa/i_video.mm
@@ -630,7 +630,7 @@ void SetupOpenGLView(CocoaWindow* const window, const OpenGLProfile profile)
else
{
assert(m_window.screen != nil);
assert(m_window.contentView.layer != nil);
assert([m_window.contentView layer] != nil);
[m_window.contentView layer].contentsScale = hiDPI ? m_window.screen.backingScaleFactor : 1.0;
}

0 comments on commit fca492d

Please sign in to comment.
You can’t perform that action at this time.