summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-07-24 23:59:44 +0200
committerMarek Olšák <[email protected]>2011-07-25 23:10:40 +0200
commitf170555a18a742ed8ecb9e04cd02a5cb414c27ea (patch)
tree3ddd43b93e3bc391112051d2a3e7fc20d14153fb /src/gallium/winsys/radeon
parent533e2289235c61eff9a14bb24da7c8a1ff0b0afa (diff)
winsys/radeon: fix typos in the driver interface
Diffstat (limited to 'src/gallium/winsys/radeon')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_winsys.h5
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 2a0f025ebc4..f8a4d3abd43 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,