Mesa (master): winsys/radeon: fix typos in the driver interface

Marek Olšák mareko at kemper.freedesktop.org
Mon Jul 25 14:47:49 PDT 2011


Module: Mesa
Branch: master
Commit: f170555a18a742ed8ecb9e04cd02a5cb414c27ea
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f170555a18a742ed8ecb9e04cd02a5cb414c27ea

Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun Jul 24 23:59:44 2011 +0200

winsys/radeon: fix typos in the driver interface

---

 src/gallium/winsys/radeon/drm/radeon_winsys.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/gallium/winsys/radeon/drm/radeon_winsys.h b/src/gallium/winsys/radeon/drm/radeon_winsys.h
index 2a0f025..f8a4d3a 100644
--- a/src/gallium/winsys/radeon/drm/radeon_winsys.h
+++ b/src/gallium/winsys/radeon/drm/radeon_winsys.h
@@ -297,7 +297,7 @@ struct radeon_winsys {
      */
     void (*cs_set_flush)(struct radeon_winsys_cs *cs,
                          void (*flush)(void *ctx, unsigned flags),
-                         void *user);
+                         void *ctx);
 
     /**
      * Return TRUE if a buffer is referenced by a command stream.
@@ -312,7 +312,8 @@ struct radeon_winsys {
      * Request access to a feature for a command stream.
      *
      * \param cs        A command stream.
-     * \param fid       A winsys buffer.
+     * \param fid       Feature ID, one of RADEON_FID_*
+     * \param enable	Whether to enable or disable the feature.
      */
     boolean (*cs_request_feature)(struct radeon_winsys_cs *cs,
                                   enum radeon_feature_id fid,



More information about the mesa-commit mailing list