I'm porting to OS X 10.5 an app that works just fine on Linux.  I'm using FLTK 
1.1.7.

We have a class (MarineViewer) that subclasses from Fl_Gl_Window.  In 
MarineViewer's constructor, we have this code:

   m_textures = new GLuint[1];
   ...
   glGenTextures(1, m_textures);

The call to glGenTextures is generating a bus error.  I think it's related to 
something I found while debugging:  If I call "this->context()" from within 
that same constructor, I get back the value NULL.  I assume this means that for 
some reason, FLTK isn't able to get an OpenGL context for my program to use.

Any idea why I might be seeing this?  Any idea how I can fix it?

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

Reply via email to