discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOpenGLView : Calling openGLContext causes exception


From: oren
Subject: NSOpenGLView : Calling openGLContext causes exception
Date: Wed, 1 Apr 2009 17:24:47 -0700 (PDT)
User-agent: G2/1.0

2009-04-01 23:36:59.184 MyGL[25376] XGGLContext.m:76  Assertion failed
in XGXSubWindow(instance), method initWithView:visualinfo:.  request
of an X window attachment on a view that is not on a NSWindow

this wrong behavior happenned because the gl view doesn't move to any
window yet.
may be it should creates the xwindow right away and once the the view
of that context
did move to a window then tell its glcontext to reparent its window
onto a new one.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]