ARB_get_proc_address looks terrific.

My only concern is:

>    A return value of NULL indicates that the specified function does
>    not exist for the implementation.

This appears to be the only occurence where OpenGL behavior is
inconsistant. That is, calling the returned function without
testing for null could cause a crash.

I would prefer to see an error or nop function returned so when
calling an ARB_get_proc_address functions the behavior is
similiar to calling GL functions without a current context.
I don't recall offhand what GL noncurrent context functions do.

My 0.02 cents,

Ron

>From [EMAIL PROTECTED]  Wed Nov  3 23:42:13 1999
>From: Jon Leech <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [oglbase-discuss] New GLX_ARB_get_proc_address specification
>Precedence: bulk
>Reply-To: [EMAIL PROTECTED]
>X-ArchiveInfo: List archive at http://www.mail-archive.com
>
>    I've revised the extension specification (attached) following our
>straw poll to make it a GLX function returning context-independent
>pointers. As a logical consequence the function should return any of GL,
>GLX, or GLU functions.
>
>    Hopefully, the nitpicky details of moving it from GL to GLX have
>been taken care of. If there are any actual bugs in the proposal, please
>identify them ASAP. This extension *will* be presented to the ARB on
>Monday, November 8th.
>
>    Jon Leech
>    SGI

Reply via email to