mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0032991: Visualization, TKOpenGl - OpenGl_Window::Resize() ignores window virtual flag on macOS
Added handling of Aspect_Window::IsVirtual() flag on macOS platform.
This commit is contained in:
@@ -253,7 +253,7 @@ void ViewerTest_EventManager::handleViewRedraw (const Handle(AIS_InteractiveCont
|
||||
&& (!aRedrawer.IsStarted() || aRedrawer.IsPaused()))
|
||||
{
|
||||
myIsTmpContRedraw = true;
|
||||
#if !defined(_WIN32) && !defined(__EMSCRIPTEN__)
|
||||
#if !defined(_WIN32) && !defined(__EMSCRIPTEN__) && !defined(__APPLE__)
|
||||
aRedrawer.Start (theView, 60.0);
|
||||
#endif
|
||||
}
|
||||
@@ -269,7 +269,7 @@ void ViewerTest_EventManager::handleViewRedraw (const Handle(AIS_InteractiveCont
|
||||
else if (myIsTmpContRedraw)
|
||||
{
|
||||
myIsTmpContRedraw = false;
|
||||
#ifndef _WIN32
|
||||
#if !defined(_WIN32) && !defined(__APPLE__)
|
||||
ViewerTest_ContinuousRedrawer& aRedrawer = ViewerTest_ContinuousRedrawer::Instance();
|
||||
aRedrawer.Pause();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user