diff options
author | Kristian Høgsberg <[email protected]> | 2012-07-16 15:08:13 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2012-07-16 16:29:16 -0400 |
commit | 7250cd506baa0bd4649b30d87509cdd0cbc06a57 (patch) | |
tree | 866bd56a40a5ebbaf2aa90c27aaf807585b9726e /src/gbm/main/gbm.h | |
parent | 44f066b9ffb7749e872c9cc44ab4d6e2973c2372 (diff) |
gbm: Rename gbm_bo_get_pitch to gbm_bo_get_stride
We use pitch for 'pixels per row' and stride for 'bytes per row' pretty
consistently in mesa and most other places, so rename the gbm API.
Diffstat (limited to 'src/gbm/main/gbm.h')
-rw-r--r-- | src/gbm/main/gbm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gbm/main/gbm.h b/src/gbm/main/gbm.h index 52afdf7fd13..9d2a0308766 100644 --- a/src/gbm/main/gbm.h +++ b/src/gbm/main/gbm.h @@ -244,7 +244,7 @@ uint32_t gbm_bo_get_height(struct gbm_bo *bo); uint32_t -gbm_bo_get_pitch(struct gbm_bo *bo); +gbm_bo_get_stride(struct gbm_bo *bo); uint32_t gbm_bo_get_format(struct gbm_bo *bo); |