I use textures with fltk by using the FTGL library and it works fine.

Have a look at the octplot code: text.cpp line ~190:
http://octplot.svn.sourceforge.net/viewvc/octplot/trunk/octplot/src/text.cpp?revision=468&view=markup

and the FTGL routines in:
http://octplot.svn.sourceforge.net/viewvc/octplot/trunk/octplot/src/FTGL/FTTextureGlyph.cpp?revision=203&view=markup

Shai



On Wed, Jun 4, 2008 at 12:31 PM, Cameron King <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is there an example of textures being used in FLTK OpenGL windows?
>
> My quads appear white without textures. I believe this is a common problem 
> around here. My code has been ported from SDL and works, but not in FLTK.
>
> Anyone who got this to work willing to show how they inited OpenGL to see 
> textured polys?
>
> Thanks,
>
> Cameron
> _______________________________________________
> fltk-opengl mailing list
> [email protected]
> http://lists.easysw.com/mailman/listinfo/fltk-opengl
>

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

Reply via email to