dri_interface: document loaderPrivate for getCapability

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Marek Olšák
2017-07-31 18:21:15 +02:00
parent 86d4b46d66
commit 6d37bcdb79

View File

@@ -1030,6 +1030,10 @@ struct __DRIdri2LoaderExtensionRec {
* Return a loader capability value. If the loader doesn't know the enum,
* it will return 0.
*
* \param loaderPrivate The last parameter of createNewScreen or
* createNewScreen2.
* \param cap See the enum.
*
* \since 4
*/
unsigned (*getCapability)(void *loaderPrivate, enum dri_loader_cap cap);