Re: [gtk-list] Re: Using Mesa (openGL) with GTK



> It works for me after changing dbuf in gui_init to start with GL_RGBA
> and put the GLX_DOUBLEBUFFER at the end. Took me a couple minutes, and
> comparing with glxdemo.c in Mesa 2.3...
> 
> First thing I did after that... I built a little rotating on top
> (cam_?spin are there already, so...).  Wonderful, and so simple.
> 
> And if anyone has to add something that should be changed before
> trying to use it in bigger project, go ahead.  It's

Could you try to make a small Gtk widget of this code ? BTW: The new 
Mesa distribution contains SGI's OpenGL widget. What about poring it to
gtk ?

			Jens Ch. Restemeier



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