Ah, Thanks Don,

I did find where I had a reference to all those WGL things. It was in the WGLExtensions.h in the Producer src. As this is included in VisualChooser.cpp

507 #ifdef _WIN32_IMPLEMENTATION
508 #include "WGLExtensions.h"

Doesn't that mean it (Producer) already has a header file with WGL tokens included? I say that as I recompiled it (with the little change below) and still had an error, although, applications were now happy to carry on and disregard the bum VisualChooser attributes. I will do a clean & jerk, err, I mean build, again from scratch to make sure.

Garry

I've just checked VisualChooser.cpp and found WGL_SAMPLE_BUFFERS_ARB and
WGL_SAMPLES_ARB alive and well. These are ifdefed with this, however:

#if defined(WGL_SAMPLE_BUFFERS_ARB) && defined (WGL_SAMPLES_ARB)
        case SampleBuffers: attr.first = WGL_SAMPLE_BUFFERS_ARB; break;
        case Samples: attr.first = WGL_SAMPLES_ARB; break;
#endif

(Actually, I just found the the "if defined() statement used
WGL_SAMPLE_BUFFERS, not WGL_SAMPLE_BUFFERS_ARB, this is fixed now in CVS).

This means, however, that your Producer binary needs to be compiled with a
header file that has the appropriate tokens.

-don



--
Garry Keltie

garrydotkeltieATrmit.edu.au
VR Centre - Research & Innovation
RMIT University

/ ... .... .. - /  .... .- .--. .--. . -. . -..
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to