mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fixed Mac OS X fullscreen mode
This commit is contained in:
parent
8eb5073c33
commit
82be322731
@ -317,7 +317,11 @@
|
||||
////////////////////////////////////////////////////////
|
||||
-(NSSize)size
|
||||
{
|
||||
if (*m_fullscreenMode == sf::VideoMode()) {
|
||||
return [m_oglView frame].size;
|
||||
} else {
|
||||
return NSMakeSize(m_fullscreenMode->width, m_fullscreenMode->height);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user