---
name: "glXQueryExtensionsString"
section: "3x"
platform: "linux"
package: "xlibmesa-gl-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/glXQueryExtensionsString"
---

# glXQueryExtensionsString(3x)

return list of supported extensions

## NAME

glXQueryExtensionsString - return list of supported extensions

## C SPECIFICATION

const char \* **glXQueryExtensionsString**( Display *\*dpy*,

```
	int screen )
```

delim $$

## PARAMETERS

- *dpy*

  Specifies the connection to the X server.

- *screen*

  Specifies the screen.

## DESCRIPTION

**glXQueryExtensionsString**  returns a pointer to a string describing which GLX extensions are supported on the connection. The string is null-terminated and contains a space-separated list of  extension names.  (The extension names themselves never contain  spaces.) If there are no extensions to GLX, then the empty string is  returned.

## NOTES

**glXQueryExtensionsString** is available only if the GLX version is 1.1 or greater.

**glXQueryExtensionsString** only returns information about GLX extensions. Call  **glGetString** to get a list of GL extensions.

## SEE ALSO

**glGetString**, **glXQueryVersion**,  **glXQueryServerString**, **glXGetClientString**
