mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
OpenGL: Stop calling disableScreenUpdatesUntilFlush on macOS
This commit is contained in:
parent
10cf5a98a2
commit
cddd43891d
1 changed files with 2 additions and 1 deletions
|
|
@ -1197,7 +1197,8 @@ private:
|
|||
|
||||
auto& comp = *getComponent();
|
||||
|
||||
#if JUCE_MAC
|
||||
#if JUCE_MAC && (! defined (MAC_OS_VERSION_15_0) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_VERSION_15_0)
|
||||
// According to a warning triggered on macOS 15 and above this doesn't do anything!
|
||||
[[(NSView*) comp.getWindowHandle() window] disableScreenUpdatesUntilFlush];
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue