Jon Leech wrote:
>
> >     The function
> >         void *GetProcAddressEXT(const ubyte *procName);
> >     returns the address of the extension function named by procName.
> >     NULL is returned if the named function is not available.
> >
> >     The pointer returned by GetProcAddressEXT should be cast to a
> >     function type which matches the extension function's definition.
> >
> >     Functions which are extensions to the GL window system interface
> >     (such as GLX and WGL) are also obtainable with GetProcAddressEXT.
> 
>     Also note that the returned pointer is only valid when the current
> context is the same as the context to which the GL was connected when
> the pointer was obtained.

I don't see why this should be the case.  Clearly this pointer:

GLFuncPointerType ptr = glVertex3fv;

is valid in all contexts, regardless of which context (if any) happened
to be current when it was obtained.  Why should the return value of
GetProcAddressEXT be any different?  This seems to me an unnecessarily
onerous requirement (from the application point of view), simply to make
the driver implementation a little simpler.

Cheers!
begin:vcard 
n:Johnson;Brett
x-mozilla-html:FALSE
org:Hewlett-Packard;Worstation Systems Lab
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:WSL Turtle Master
fn:Brett Johnson
end:vcard

Reply via email to