On 2006-11-08 12:41:52 +0200 Renaud Molla <[EMAIL PROTECTED]> wrote:

Hi,

I'm trying to write an NSOpenGLView application (actually i'm using an example from Stefan Urbanek
        http://lists.gnu.org/archive/html/discuss-gnustep/2004-11/msg00191.html
        and corrected the things so it launches and run),

but the NSOpenGLView doesn't display anything although the drawRect method is called regularly
        through the use of a timer.

It seems that, in the Stefan's example, is the "[[self openGLContext] 
flushBuffer]" at the end of -drawRect: that does the trick, not the timer.

        The view 'contains' what was in the background before the window  
appeared.
        Moving the window don't make it display anything either.
Making the NSOpenGLView the window contentView does not change anything equally.

        The same code works 100% when compiled with cocoa.

        Any help would be appreciated !-)

Renaud Molla



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to