Fixed Mac OS X fullscreen mode
This commit is contained in:
parent
8eb5073c33
commit
82be322731
@ -317,7 +317,11 @@
|
|||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
-(NSSize)size
|
-(NSSize)size
|
||||||
{
|
{
|
||||||
|
if (*m_fullscreenMode == sf::VideoMode()) {
|
||||||
return [m_oglView frame].size;
|
return [m_oglView frame].size;
|
||||||
|
} else {
|
||||||
|
return NSMakeSize(m_fullscreenMode->width, m_fullscreenMode->height);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user