You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error can be removed using a patch to Steersuite > RateSetter-SteerSuite-master > external > glfw > lib > cocoa > cocoa_window.m
--- ./1/cocoa_window.m 2021-09-23 04:18:16.000000000 +0100
+++ ./2/cocoa_window.m 2023-03-01 13:57:12.000000000 +0000
@@ -706,14 +706,16 @@
// I think it's safe to pass 0 to the refresh rate for this function
// rather than conditionalizing the code to call the version which
// doesn't specify refresh...
- CGDisplayBestModeForParametersAndRefreshRateWithProperty(
+ //CGDisplayBestModeForParametersAndRefreshRateWithProperty(
+ //Remove deprecated function and replace with new which required one fewer parameters.
+ CGDisplayBestModeForParametersAndRefreshRate(
CGMainDisplayID(),
colorBits + fbconfig->alphaBits,
width,
height,
wndconfig->refreshRate,
// Controversial, see macosx_fullscreen.m for discussion
- kCGDisplayModeIsSafeForHardware,
+ //kCGDisplayModeIsSafeForHardware,
NULL);
width = [[(id)fullscreenMode objectForKey:(id)kCGDisplayWidth] intValue];
The text was updated successfully, but these errors were encountered:
On recent MacOS there is an error generated about missing symbol GDisplayBestModeForParametersAndRefreshRateWithProperty
See https://discourse.glfw.org/t/osx-10-7-depreciated-function-issues/227 and http://core.ibex.org/src/org/ibex/plat/DarwinCarbonHeaders.h
The error can be removed using a patch to Steersuite > RateSetter-SteerSuite-master > external > glfw > lib > cocoa > cocoa_window.m
The text was updated successfully, but these errors were encountered: