Marc Levoy wrote:
> For an important but infrequently used program based on FLTK, I have suddenly
> found that it is able to obtain only 5-bit color buffers (5+5+5 instead of
> 8+8+8), causing my application to mis-perform.  (I read back the frame buffer,
> so the bitdepth is important to the proper function of the program.)

        Does it make a difference if you're using Fl_Window vs. 
Fl_Double_Window?

        Sometimes double buffering can limit color resolution, and possibly
        something in FLTK changed in the way it initializes that affects
        openGL in this way that we can identify and fix.

        Also, if you can provide a small FLTK opengl program that shows the 
problem,
        that would help.

        I'm assuming you're using opengl calls to read back the color depth
        and getting 5bit instead of 8bit. Giving us a /small/ program that
        shows this (ie. sets up opengl and prints the bit depth values to the 
console)
        would really help us track it down.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to