mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-21 12:25:30 +00:00
conforms platformWindow<implementations> to use _setVideoMode internals so that those are called by
void PlatformWindow::setVideoMode(const GFXVideoMode &mode)
{
_setVideoMode(mode);
getScreenResChangeSignal().trigger(this, true);
}
allowing the resize trigger to go off, as well as any other shared functionality we want to slim the per-implementation specs down to later down the line
This commit is contained in:
parent
501990c3b6
commit
a8b6327091
7 changed files with 7 additions and 8 deletions
|
|
@ -259,7 +259,7 @@ void MacWindow::_disassociateCocoaWindow()
|
|||
mCocoaWindow = NULL;
|
||||
}
|
||||
|
||||
void MacWindow::setVideoMode(const GFXVideoMode &mode)
|
||||
void MacWindow::_setVideoMode(const GFXVideoMode &mode)
|
||||
{
|
||||
mCurrentMode = mode;
|
||||
setSize(mCurrentMode.resolution);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue