mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- 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'
This commit is contained in:
parent
eeddd72458
commit
fca492df2b
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ void SystemBaseFrameBuffer::SetMode(const bool fullscreen, const bool hiDPI)
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue