On Thu, 14 Oct 1999, Brett Johnson wrote:

> > Since I have these different windows, I would expect to be able to get
> > different features/extensions from the different contexts. What would
> > happen when I query the extensions with context-independent function
> > pointers? Assuming I get a pointer, what happens when I call it?
> 
> I would envision that if you call a pointer to an unsupported extension,
> nothing would happen (i.e. the same thing that happens if you call a gl*
> function with no currently bound context).  I think it would be a Bad
> Thing to simply call the behavior undefined.
 
I agree.

If glGetProcAddress gave you an address and not a NULL then
you should be able to call it (albeit illegally - because
you didn't pay attention to the glGetString(GL_EXTENSIONS)
for this context)...the result should be a no-op and
a GL error.

Steve Baker                (817)619-2657 (Vox/Vox-Mail)
Raytheon Systems Inc.      (817)619-2466 (Fax)
Work: [EMAIL PROTECTED]      http://www.hti.com
Home: [EMAIL PROTECTED] http://web2.airmail.net/sjbaker1

Reply via email to