We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68b8cd3 commit b87cb4bCopy full SHA for b87cb4b
model/renderNativeWindow.cc
@@ -95,9 +95,9 @@ namespace minsky
95
void macOSXRedraw(RenderNativeWindow& window,const std::shared_ptr<std::lock_guard<std::mutex>>& lock)
96
{
97
#ifdef MAC_OSX_TK
98
- if (!window->winInfoPtr.get()) return;
99
- window->winInfoPtr->lock=macOSXDrawLock;
100
- window->winInfoPtr->requestRedraw();
+ if (!window.winInfoPtr.get()) return;
+ window.winInfoPtr->lock=lock;
+ window.winInfoPtr->requestRedraw();
101
#endif
102
}
103
0 commit comments