# OSX 10.7 Depreciated function issues

**URL:** https://discourse.glfw.org/t/osx-10-7-depreciated-function-issues/227
**Category:** support
**Created:** [June 9, 2012, 6:33pm UTC](https://discourse.glfw.org/t/osx-10-7-depreciated-function-issues/227 "2012-06-09T18:33:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)
#### Post date: [June 9, 2012, 6:33pm UTC](https://discourse.glfw.org/t/osx-10-7-depreciated-function-issues/227/1 "2012-06-09T18:33:49Z")

</div>

**[dave29483](https://sourceforge.net/u/dave29483/)** wrote on [Saturday, June 09, 2012](https://sourceforge.net/p/glfw/discussion/247562/thread/48de3924/#9fd7):

Hi,

I’m not sure if this is already in the works but when I compile on OSX 10.7 it  
reports the following as being depreciated;

CGDisplayCurrentMode  
CGDisplaySwitchToMode  
CGDisplayBestModeForParametersAndRefreshRateWithProperty

More of an FYI than anything.

Keep up the great work. Best glut replacement I have ever used!

Thanks,  
Dave.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)
#### Post date: [June 10, 2012, 8:13pm UTC](https://discourse.glfw.org/t/osx-10-7-depreciated-function-issues/227/2 "2012-06-10T20:13:57Z")

</div>

**[elmindreda](https://sourceforge.net/u/elmindreda/)** wrote on [Sunday, June 10, 2012](https://sourceforge.net/p/glfw/discussion/247562/thread/48de3924/#9b91):

I’ve replaced those functions with modern equivalents in GLFW 3, but I’m not  
sure if it’s worth it to add parallel implementations to GLFW 2.7. It still  
needs to work on older versions of Mac OS X, so I wouldn’t be able to just  
remove the deprecated calls.
