Hi,

I have a problem in drawing opengl in Gentoo linux.

My requirement is I want to draw a simple 2D using normal fltk window,

I did this in windows(OS) in two different methods but the problem is with 
linux.
1.Get the window handle, Get device context and rendering context,
set pixel format and start drawing.
2.Using glstart() and glFinish().

When I try the above two methods in linux, The opengl commands between glstart 
and glfinish are not getting executed, I mean i could not even clear the screen 
using glClearcolor.It works fine in Windows.

the code is;

1.create normal window
2.make it current
3.Set glVisual
4.glStart
5.Opengl Commands
6.glFinish

My fltk version is V2.0.0.

any help

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

Reply via email to