diff options
Diffstat (limited to 'src/gbm/main/gbm.c')
-rw-r--r-- | src/gbm/main/gbm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c index 2a830336d45..c58576dd940 100644 --- a/src/gbm/main/gbm.c +++ b/src/gbm/main/gbm.c @@ -196,12 +196,12 @@ gbm_bo_get_height(struct gbm_bo *bo) * gbm_bo_create() * * \param bo The buffer object - * \return The stride of the allocated buffer object + * \return The stride of the allocated buffer object in bytes */ GBM_EXPORT uint32_t -gbm_bo_get_pitch(struct gbm_bo *bo) +gbm_bo_get_stride(struct gbm_bo *bo) { - return bo->pitch; + return bo->stride; } /** Get the format of the buffer object |