mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
Fixed the pure virtual function to be an empty one, which should resolve the linux build failure.
Also tweaked the loading methodology to have the canvas by default assume it should force the window display as soon as it can. You can set the canvas to not do that when it's created via the new displayWindow variable. This way, old templates and projects should work as normal without changes, while the new templates are built to take advantage of the nicer splash screen arrangement.
This commit is contained in:
parent
2864edf291
commit
0878f005c0
6 changed files with 33 additions and 4 deletions
|
|
@ -268,7 +268,10 @@ PlatformWindow *Win32WindowManager::createWindow(GFXDevice *device, const GFXVid
|
|||
w32w->setDisplayWindow(mDisplayWindow);
|
||||
|
||||
if (!mOffscreenRender && mDisplayWindow)
|
||||
{
|
||||
ShowWindow( w32w->mWindowHandle, SW_SHOWDEFAULT );
|
||||
CloseSplashWindow(winState.appInstance);
|
||||
}
|
||||
|
||||
// Bind the window to the specified device.
|
||||
if(device)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue