Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- 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 fca492d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posix/cocoa/i_video.mm
Expand Up @@ -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;
}

Expand Down

0 comments on commit fca492d

Please sign in to comment.