mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed compilation with older macOS SDK like 10.9
src/posix/cocoa/i_video.mm:564:23: error: property 'layer' not found on object of type 'id'
This commit is contained in:
parent
0c6d0de3ab
commit
48a5476ec4
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ void SystemBaseFrameBuffer::SetMode(const bool fullscreen, const bool hiDPI)
|
|||
{
|
||||
assert(m_window.screen != nil);
|
||||
assert(m_window.contentView.layer != nil);
|
||||
m_window.contentView.layer.contentsScale = hiDPI ? m_window.screen.backingScaleFactor : 1.0;
|
||||
[m_window.contentView layer].contentsScale = hiDPI ? m_window.screen.backingScaleFactor : 1.0;
|
||||
|
||||
if (fullscreen)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue