check_extension
Description:
Check whether name
occurs in list of extensions in ext
.
Note:
OpenGL is an implementation detail for Cogl and so it's not appropriate to expose OpenGL extensions through the Cogl API.
This function can be replaced by the following equivalent code:
CoglBool retval = (strstr (ext, name) != NULL) ? TRUE : FALSE;
Parameters:
name |
extension to check for |
ext |
list of extensions |
Returns:
|
Namespace: Cogl
Package: cogl-1.0