waffle_is_extension_in_string(3)

waffle_is_extension_in_string3

Check if a name appears in an opengl-style extension string

Usage

#include <waffle.h>

bool waffle_is_extension_in_string(const char * extension_string, const char * extension_name);

Overview

waffle_is_extension_in_string()

Check if an extension name appears in an OpenGL-style extension string.

The extension_string must be in the format returned by glGetString(GL_EXTENSIONS). Note that this function is not restricted to the OpenGL extension string; it can also be used on the WGL, GLX and EGL extension strings.

This function can be called before waffle has been successfully initialized with waffle_init(3).

Errors

This function sets the error code to WAFFLE_NO_ERROR.

Issues

Please report bugs or and feature requests to https://gitlab.freedesktop.org/mesa/waffle/issues.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Chad Versace <[email protected]>

Former maintainer

From libwaffle-doc 1.8.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.