dri_interface: document loaderPrivate for getCapability
authorMarek Olšák <marek.olsak@amd.com>
Mon, 31 Jul 2017 16:21:15 +0000 (18:21 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 31 Jul 2017 16:30:00 +0000 (18:30 +0200)
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
include/GL/internal/dri_interface.h

index c314a43..457fc63 100644 (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);