User-agent: Mozilla Thunderbird 0.8 (X11/20040913)
Gordon Erlebacher wrote:
This suggests to me that somehow, the pbuffer context must be active
when certain aspects of the shader
are defined, although I have not seen this documented anywhere. Any
thoughts on the matter? Thanks.
Unless glut's context and the pbuffer's context are shared, I believe
that you have to make the pbuffer's context current when you create the
shader. (I haven't had any luck getting glut to share its context with
a float pbuffer, but admittedly, I haven't tried very hard.)
ie:
CGLSetCurrentContext( pbuffer_cxt )
// create pbuffer shader here
CGLSetCurrentContext( glut_cxt );
// create glut shader here
This is what I'm doing with ARB shaders that operate on floating pbuffers.
-j
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden