glXQueryExtension(3x)

glXQueryExtension3x

Indicate whether the glx extension is supported

C specification

Bool glXQueryExtension( Display *dpy,

	int *errorBase,
	int *eventBase )

delim $$

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.

Overview

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. Otherwise, errorBase and eventBase are unchanged.

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

Notes

eventBase is included for future extensions. GLX does not currently define any events.

Releases

Unchanged in 2 releases since Debian 3.0 (Woody).

  1. 3.0–3.1

From xlibmesa-gl-dev 4.3.0.dfsg.1-14sarge7 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.