--- Keith Whitwell <[EMAIL PROTECTED]> wrote:
> > Why do you dynamically generate a dispatch for unknown functions instead of
> just
> > returning null? What does this dispatch dispatch to?
> 
> The linux OpenGL ABI requires that GetProcAddressARB return the same value in 
> all contexts, including ones which haven't been created yet.  Therefore you 
> can't return NULL as someone might create a new context which has a different 
> set of extensions enabled (direct vs. indirect, different heads, etc).  If you
> 
> had returned null, the new context wouldn't be able to add that extension.

The ATI proprietary driver is returning NULL for these functions. Don't know if
it is broken or just has some other scheme for addressing these problems. They
may have copied the Windows behavior.

=====
Jon Smirl
[EMAIL PROTECTED]


        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to