If this is a repeat post I apologize.

You will need to set up your own rendering context that supports multisampling. 
 You then need to pass your rendering context to fltk.

Google NEHE Lesson 46 if you need to know how to set up a context that supports 
multisampling on windows platforms.  Source code is available.

As for fltk you will need to use the "context" method of your glwindow (or 
subclass there of).

However, after you create your context you will need to make it current and 
then pass it to fltk...warning...I THINK...end warning.  To do that you will 
need to find a way to use fltk's fl_xid and fltkdisplay() (or xdisplay) 
methods.  I have not successfully figured out how to do that last part - if you 
do please post about it.



> Hi,
>
> I am trying to enable GL multisampling (for full screen anti-aliasing) by 
> adding the FL_MULTISAMPLE flag in the Fl_Gl_Window->mode() call : It does not 
> work on win32 XP / fltk-1.3-current.
>
> Is this extension activated for win32 ?
>
> in Fl_GL_Choice.cxx it is used for X only.
>
> Thanks for any help,
> S.AZAR
>

_______________________________________________
fltk-opengl mailing list
fltk-opengl@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-opengl

Reply via email to