Follow-up Comment #2, bug #22706 (project gnustep):
Thank you for the clue :-)
As you can read in the specs about [NSView display] :
<< Displays the receiver and all its subviews if possible, invoking each the
NSView methods lockFocus, drawRect:, and unlockFocus as necessary. >>
So at least [lockFocus] must be send, if not [lockFocusInRect:]
Dont you think so ?
I've just tried with [_lockFocusInContext:inRect:] and all seems to run fine.
But I think this is a not so better hack.
Anyway your right : NSOpenGLView had to be fixed to be closer to the specs.
I've just made some changes, but these need some test. But IMHO [lockFocus] is
THE place where the context is made current. This must be done before
[drawRect:]
Thanks again
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?22706>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep