Hello 

I'm currently trying to wrap my head around an OS X port of GtkGLExt which is a 
Gtk+ lib that enables OpenGL rendering for a Gtk+ widget.
The lib uses NSOpenGLView and NSOpenGLContext and It sort of works meaning that 
you CAN render OpenGL BUT,
the entire windows is filled with background color covering all non-OpenGL Gtk+ 
widgets in the window.

I cant figure out if its because the context gets its "frame/bounds/rect//don't 
know the phrase" from NSWindow and not NSView?

So my question is how you set the coordinates/width/height for a 
NSOpenGLView/Context, and
how to update them if the view is resized?

/Regards
Jacob Kolding
dac...@juvul.com





Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to