# Getting OpenGL to show in Mac OS X dock

**URL:** <https://discourse.libsdl.org/t/getting-opengl-to-show-in-mac-os-x-dock/11405>\
**Category:** SDL Development\
**Created:** [October 19, 2004, 5:18am UTC](https://discourse.libsdl.org/t/getting-opengl-to-show-in-mac-os-x-dock/11405 "2004-10-19T05:18:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Sullivan](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/aaron_sullivan/32/238_2.png) [@Aaron\_Sullivan](https://discourse.libsdl.org/u/Aaron_Sullivan)\
**Post date:** [October 19, 2004, 5:18am UTC](https://discourse.libsdl.org/t/getting-opengl-to-show-in-mac-os-x-dock/11405/1 "2004-10-19T05:18:22Z")

</div>

I have some code for getting this to work in a Cocoa app (which is what  
SDL apps on the Mac are) discussed here:  
[http://www.idevgames.com/forum/showthread.php?p=70473&posted=1#post70473](http://www.idevgames.com/forum/showthread.php?p=70473&posted=1#post70473)

I’m wondering how to get this into SDL correctly so that it will behave  
properly by copying SDL’s openGL context correctly so it will show in  
the Dock. Is there a generic way to do this for every SDL app that can  
be added to SDL? Is there a way to implement this on a project by  
project basis?

Any information would be helpful.

Thanks,  
Aaron
