On Thu, Sep 09, 1999 at 05:52:52PM -0500, Stephen J Baker wrote:
> Hmm - I guess we frown upon people ignoring GL_EXTENSIONS and
> just checking for the NULL return from glGetFuncAddress to
> indicate the absence of an extension?

    Yes, we do. To put it mildly :-)

> Painful though it is, I have to say that you should continue
> to check GL_EXTENSIONS. The existance of a function in the
> driver (which could be a function that exists but doesn't
> work on your rev of board or something) - doesn't guarantee
> it's a usable function.

    Or that it's usable for the intended purpose. glColorTableSGI, for
example, is used by two different extensions, one of which is in the
DrawPixels path and one of which is used for texture lookups. Most
implementations providing the entry point support only one of the
extensions using it!

    Jon Leech
    SGI

Reply via email to