Robert Osfield wrote:
On Thu, Oct 22, 2009 at 3:32 PM, Paul Martz <[email protected]> wrote:
On Windows, GL_TEXTURE0 is #defined in osg/State, but explicitly including
that header does not resolve the issue. Odd.
OK, the problem is that the loverly MS gl.h is OpenGL 1.1, and doesn't
even support multi-texturing....
I had a dream in which Microsoft dumped D3D and supported OpenGL as a
first class API. Ten years of cloud cover parted, the sun came out,
there was a rainbow, the birds sang and flowers bloomed, and the world
was once again safe for cross-platform 3D graphics. Then I woke up.
I'll add an define into GLBeginEndAdapter for GL_TEXTURE0. Could you
do an svn update and let me know how you get on.
We have this #defined in multiple places now (State, TexEnvCombine,
GLBeginEndAdapter), which is a bit scary, but short of porting OSG to
GLEW, this is a good change. Build is in progress and succeeding so far.
Thanks.
(Not sure why my attempt to #include osg/State didn't fix it...?)
-Paul
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org