In article <[EMAIL PROTECTED]>,
 Kezhong Zhou <[EMAIL PROTECTED]> 
 wrote:

> I have two version using FLTK. One uses FL/glut and the other doesn't. The 
> other version I use FL/Fl_Gl_Window to utilize OpenGL functions. FL/glut.h 
> was not included in the later version.

Note that the glutInitDisplayMode() works only when you use a 
Fl_Glut_Window and/or the GLUT interface.

If you use a normal Fl_Gl_Window you need to set visual() for the window 
instead. There are some examples in the "test" directory that show this.

> Following your advices, I call glGetString() in my program.
> Get results as below:
> 
> In Single Monitor Mode:
> All version results are the same:
> GL_VENDOR = Intel
> GL_RENDERER = Intel 915GM
> EXTENSIONS =
...
>               GL_WIN_swap_hint
> 
> But in Dual Monitor Mode:
> My two version using FLTK are the same.
> GL_VENDOR = Microsoft Corporation
> GL_RENDER = GDI Generic
> GL_RENDERER = Intel 915GM
> EXTENSIONS =
>               GL_WIN_swap_hint
>               GL_EXT_bgra
>               GL_EXT_paletted_texture
> 
> While the origin GLUT one returns the same result as in single monitor mode.

As I suspected. This is the generic software-only renderer.

I don't see anything in FLTK that could affect this. Ensure that you're 
setting visual() correctly.

Maybe you can post a minimal example that exhibits the problem?
I don't have an Intel card, but I could try this on a couple of window 
boxes.

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to