Check whether name occurs in list of extensions in ext.
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;
| name |
extension to check for |
| ext |
list of extensions |
|
|