>Hence, it's meaningless to make a glGetProcAddress call
>until you know that the function you are querying exists
>and is supported by at least one of the contexts you are
>rendering to.
Isn't this an argument in favor of context-dependent pointers? 8-)
By the way, having recently written some application code which queries
extension entry points for both Windows and GLX (based on the previous
spec), let me re-iterate that (a) the code to support per-context points is
trivial, and (b) it must be written ayway, for the Windows platform. The
difference between the two, from a portability standpoint, is as follows:
#ifdef WIN32
#define glGetProcAddress wglGetProcAddress
#else
#define APIENTRY
#endif
Then the subsequent code just called glGetProcAddress and managed
per-context pointers.
- Re: [oglbase-discuss] Updated GL_EXT_get_proc_address spec Bob Beretta
- Re: [oglbase-discuss] Updated GL_EXT_get_proc_address spec Michael I Gold
- Re: [oglbase-discuss] Updated GL_EXT_get_proc_address spec Stephen J Baker
- Re: [oglbase-discuss] Updated GL_EXT_get_proc_address... Michael I. Gold
- Re: [oglbase-discuss] Updated GL_EXT_get_proc_address spec Brett Johnson
- Re: [oglbase-discuss] Updated GL_EXT_get_proc_address... Stephen J Baker
- Re: [oglbase-discuss] Updated GL_EXT_get_proc_add... Brett Johnson
- Re: [oglbase-discuss] Updated GL_EXT_get_proc... Michael I. Gold
- Re: [oglbase-discuss] Updated GL_EXT_get_proc... Stephen J Baker
- Re: [oglbase-discuss] Updated GL_EXT_get_... Brett Johnson
- Re: [oglbase-discuss] Updated GL_EXT_get_proc_add... Michael I. Gold
- Re: [oglbase-discuss] Updated GL_EXT_get_proc_address... Brian Paul
- Re: [oglbase-discuss] Updated GL_EXT_get_proc_add... Michael I. Gold
- Re: [oglbase-discuss] Updated GL_EXT_get_proc... Stephen J Baker
- Re: [oglbase-discuss] Updated GL_EXT_get_... Michael I. Gold
- Re: [oglbase-discuss] Updated GL_EXT_get_... Bob Beretta
- Re: [oglbase-discuss] Updated GL_EXT_get_proc... akin
- RE: [oglbase-discuss] Updated GL_EXT_get_... John Dennis
- Re: [oglbase-discuss] Updated GL_EXT... Brett Johnson
- Re: [oglbase-discuss] Updated GL... Michael I Gold
- Re: [oglbase-discuss] Updated GL... Brett Johnson
