IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Page OpenGL 2.X --- Revenir au moteur de recherche

Name

glXQueryExtension — indicate whether the GLX extension is supported

C Specification

Bool glXQueryExtension(Display *  dpy,
 int *  errorBase,
 int *  eventBase);

Parameters

dpy

Specifies the connection to the X server.

errorBase

Returns the base error code of the GLX server extension.

eventBase

Returns the base event code of the GLX server extension.

Description

glXQueryExtension returns True if the X server of connection dpy supports the GLX extension, False otherwise. If True is returned, then errorBase and eventBase return the error base and event base of the GLX extension. These values should be added to the constant error and event values to determine the actual event or error values. Otherwise, errorBase and eventBase are unchanged.

errorBase and eventBase do not return values if they are specified as NULL.

See Also

glXQueryVersion

Copyright

Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.