mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-03-14 06:42:09 +00:00
- attempt to fix Mac OS compile
This commit is contained in:
parent
2e2c6fd416
commit
25ca640354
1 changed files with 8 additions and 2 deletions
|
@ -1521,12 +1521,18 @@ void I_SetMainWindowVisible(bool visible)
|
|||
}
|
||||
|
||||
// each platform has its own specific version of this function.
|
||||
void DFrameBuffer::I_SetWindowTitle(const char* title)
|
||||
void CocoaVideo::I_SetWindowTitle(const char* title)
|
||||
{
|
||||
static NSString* const TITLE_STRING;
|
||||
static NSString* TITLE_STRING;
|
||||
if (title)
|
||||
TITLE_STRING = [NSString stringWithFormat:@"%s", title];
|
||||
else
|
||||
TITLE_STRING = [NSString stringWithFormat:@"%s %s", GAMESIG, GetVersionString()];
|
||||
[m_window setTitle:TITLE_STRING];
|
||||
}
|
||||
|
||||
void DFrameBuffer::I_SetWindowTitle(const char* title)
|
||||
{
|
||||
if (Video != nullptr)
|
||||
Video->I_SetWindowTitle(title);
|
||||
}
|
Loading…
Reference in a new issue