> Kristian Høgsberg wrote:
>
>> Since an application needs to have an EGLDisplay before it can query
>> for extensions, the way to discover this extension is to just use
>> eglGetProcAddress().
>
> Eh... but eglGetProcAddress never returns NULL, does it?  I know
> glXGetProcAddress never does.

eglGetProcAddress returns NULL when the function is not available.
Chapter 3.11:

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

So I think that should work ok.  Did the rest of the spec look ok to you?

Kristian
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to