summaryrefslogtreecommitdiffstats
path: root/src/gbm/main/gbmint.h
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-07-16 15:08:13 -0400
committerKristian Høgsberg <[email protected]>2012-07-16 16:29:16 -0400
commit7250cd506baa0bd4649b30d87509cdd0cbc06a57 (patch)
tree866bd56a40a5ebbaf2aa90c27aaf807585b9726e /src/gbm/main/gbmint.h
parent44f066b9ffb7749e872c9cc44ab4d6e2973c2372 (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/gbmint.h')
-rw-r--r--src/gbm/main/gbmint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gbm/main/gbmint.h b/src/gbm/main/gbmint.h
index ab23f0af073..a467beaed20 100644
--- a/src/gbm/main/gbmint.h
+++ b/src/gbm/main/gbmint.h
@@ -90,7 +90,7 @@ struct gbm_bo {
struct gbm_device *gbm;
uint32_t width;
uint32_t height;
- uint32_t pitch;
+ uint32_t stride;
uint32_t format;
union gbm_bo_handle handle;
void *user_data;