add logo, shutdown LogRemote on exit
This commit is contained in:
@@ -390,9 +390,9 @@ int main(int argc, char** argv)
|
||||
auto present = App::I.animate || App::I.redraw ?
|
||||
PeekMessage(&msg, 0, 0, 0, PM_REMOVE) : GetMessage(&msg, 0, 0, 0);
|
||||
|
||||
running = !(msg.message == WM_QUIT/* || gl.keys[VK_ESCAPE]*/);
|
||||
if (present)
|
||||
{
|
||||
running = !(msg.message == WM_QUIT/* || gl.keys[VK_ESCAPE]*/);
|
||||
DispatchMessage(&msg);
|
||||
TranslateMessage(&msg);
|
||||
}
|
||||
@@ -422,6 +422,7 @@ int main(int argc, char** argv)
|
||||
WacomTablet::I.terminate();
|
||||
DestroyWindow(hWnd);
|
||||
UnregisterClass(className, hInst);
|
||||
LogRemote::I.stop();
|
||||
}
|
||||
|
||||
LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
|
||||
|
||||
Reference in New Issue
Block a user