I only use the maturity because as I understand it fltk2 is the youngest API. The use of the word is only a measure of my inability to think of a better word to describe what I mean.
May I get an example of passing a context to fltk? I can't create multisampling buffers with fltk on win32 platforms for example. The solution would be to create the context and supply it to fltk. The only reason I need X handles is for OIS(etc) and to initialize my GL context properly. I don't really need to alter any X options other than those used in creating a GL context. In all other cases I only need access to what fltk already provides me. I cannot alter fltk's XVisusalInfo after fltk creates it. So when I create my own context and it uses a different XVisualInfo during its creation I get errors as should be the case. I needs something like this to work so my gl context and fltk use the same XVisualInfo instance. XVisualInfo _vis_ptr = glXGetVisualFromFBConfig(_disp_ptr,_fbconfig_ptr[_fbconfigID]); fltk::xvisual = _vis_ptr; > Shon Pritchett wrote: > > I am using fltk 2 for sure because I am big c++ guy. > > Fltk-1.x is C++. Just a bit less C++... > > > I've seen no mention of the functionality I need being deprecated or > > altered anywhere...though this could be due to the maturity of fltk > > 2.0. > > I would assume it is still "the same" at that level, but don't know. > "Maturity" is an odd word to use in a sentence about fltk-2 though... > > > I could let fltk create all the things mentioned and pass them on I > > suppose but then I am left with what fltk will give me. Nothing more > > nothing less. > > Well, the GL context can be created as whatever you want it to be, and > you can use Fl::visual() or its fltk-2 equivalent to give some hints to > the Xserver about what you want. Or you can take what it returns and > "tweak" it by sending the appropriate requests... > > It's probably obvious by now that I am not at all clear what attributes > you want to set, that you can't get at from the handles fltk returns to > you... > > -- > Ian > > > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

