Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: NSOpenGLContext and window re-opening (cocoa)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenGLContext and window re-opening (cocoa)



Try making sure your window is not set to one-shot (a checkbox in IB).

-Ken

On Thursday, April 24, 2003, at 10:54 PM, Cedric Vuillet wrote:

I have a big problem with an OpenGl context in an NSWindow.
When I open the window with the OpenGL view, it works great, but when I close and re-open the window, the OpenGL view is white and doesn't draw anything.

Do you know what is the problem?

What can I do to resolve this problem?

I tried makeCurrentContext but it does not work at all.

I htink this is a known problem because I have seen the same in other forums, but there is no response...

--
adnX__________________________
Ingenierie / developpement Mac

Cedric Vuillet
______________________________
Standard : 04 72 13 24 14
Ligne directe : 04 76 15 33 09
_______________________________________________
mac-opengl mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac-opengl
Do not post admin requests to the list. They will be ignored.


Kenneth Dyke, email@hidden (personal), email@hidden (work)
Sr. Mad Scientist, MacOS X OpenGL Group, Apple Computer, Inc.
C++: The power, elegance and simplicity of a hand grenade.
_______________________________________________
mac-opengl mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac-opengl
Do not post admin requests to the list. They will be ignored.

References: 
 >NSOpenGLContext and window re-opening (cocoa) (From: Cedric Vuillet <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.