1
0
Fork 0
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:
Anthony Nicholls 2024-07-24 14:51:42 +01:00
parent 10cf5a98a2
commit cddd43891d

View file

@ -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