mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-28 11:20:53 +00:00
Changed: #927 Move OS specific code from client or server to NeL when it's possible
This commit is contained in:
parent
5d594a197d
commit
6d4d3da5a5
1 changed files with 1 additions and 8 deletions
|
@ -1498,14 +1498,7 @@ bool mainLoop()
|
|||
{
|
||||
beep( 680, 400 );
|
||||
beep( 440, 400 );
|
||||
#ifdef NL_OS_WINDOWS
|
||||
// Get the window
|
||||
HWND hWnd = (HWND)Driver->getDisplay ();
|
||||
nlassert (hWnd);
|
||||
// Show the window
|
||||
ShowWindow (hWnd, SW_SHOW);
|
||||
SetForegroundWindow(hWnd);
|
||||
#endif // NL_OS_WINDOW
|
||||
Driver->showWindow();
|
||||
}
|
||||
|
||||
FPU_CHECKER_ONCE
|
||||
|
|
Loading…
Reference in a new issue