OpenGL fullscreen OS X 10.7 error return

I am trying to implement a program that takes a screenshot and saves the screenshot to the desktop. This work was fined at 10.6, but when I imported it at 10.7, I get an "invalid full-screen output" error at runtime. I downloaded a sample program from Apple that does the same using the same method, etc., and the same result ... given that the sample Apple program has not been updated for a long time (the latest revision was in 2008!) Did you know something about full screens and OpenGL has changed from 10.6 to 10.7.

PS Considering the feature of full-screen applications in Lion, there is a very high probability that something has changed, but what exactly I would like to know.

+5
source share

All Articles