Xcode screensaver with openGL

I'm currently just trying to create a simple screen saver in xcode 3.2 on osx 10.6.3 using the openGL view as described in this article: http://cocoadevcentral.com/articles/000089.php anyway, even if I use the same code from the example that I see when testing the screen saver is a black screen. I looked in the 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: invalid reference counter for 0x20057be80, break auto_refcount_underflow_error for debugging. System settings [629] invalid context

I have no idea what is wrong, so I would be glad if someone could tell me how to use openGL with the splash screen pattern in xCode 3.2. Also, is there a way to make another goal so that I can view the splash screen from xCode?

Thank!

+5
source share
1 answer

The Cocoa Dev Central example works just fine. The same error occurs for me, but, as far as I can tell, this is not the reason why you get a black screen.

I had a similar problem because I did not reinstall the screen saver correctly.

, . , - , .

+3

All Articles