xCode screensaver with openGL
        Posted  
        
            by moka
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by moka
        
        
        
        Published on 2010-05-09T11:29:47Z
        Indexed on 
            2010/05/09
            11:38 UTC
        
        
        Read the original article
        Hit count: 285
        
Hi,
I am currently simply trying to build a simple screen saver in xcode 3.2 on osx 10.6.3 using an openGL view as described in this article: http://cocoadevcentral.com/articles/000089.php anyways even if I use the exact same code from the example all I see when testing the screen saver is a black screen. I looked in OSX Console if it tells me anything useful. the only thing I get is something like this:
[0x0-0x1e01e].com.apple.systempreferences[629] System Preferences(629,0x7fff71071be0) malloc: reference count underflow for 0x20057be80, break on auto_refcount_underflow_error to debug. System Preferences[629] invalid context
I have no idea what is wrong, so I would be glad if someone could tell me how to use openGL together with the screensaver template in xCode 3.2. Also, is there a way to make another target so I can preview the screensaver from within xCode?
Thanks!
© Stack Overflow or respective owner