summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorElvis Lee <[email protected]>2012-07-17 20:28:57 +0900
committerKristian Høgsberg <[email protected]>2012-07-17 10:54:00 -0400
commit23f1e551cc6553ce7f99b9264efc8776f5f35b00 (patch)
tree3b9e2ed2bdf00ba55122b20547386011d116b19c /src/gallium
parentf42e601ce0263808ba36c88763196856ecdb79c1 (diff)
st/gbm: renaming pitch to stride on gallium
commit '7250cd506baa0bd4649b30d87509cdd0cbc06a57' changes struct gbm_bo, renaming it's 'pitch' to 'stride'. This applies to Gallium. Signed-off-by: Elvis Lee <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/gbm/gbm_drm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/gbm/gbm_drm.c b/src/gallium/state_trackers/gbm/gbm_drm.c
index a327fdaae64..eb426efa960 100644
--- a/src/gallium/state_trackers/gbm/gbm_drm.c
+++ b/src/gallium/state_trackers/gbm/gbm_drm.c
@@ -131,7 +131,7 @@ gbm_gallium_drm_bo_create_from_egl_image(struct gbm_device *gbm,
gdrm->screen->resource_get_handle(gdrm->screen, bo->resource, &whandle);
bo->base.base.handle.u32 = whandle.handle;
- bo->base.base.pitch = whandle.stride;
+ bo->base.base.stride = whandle.stride;
return &bo->base.base;
}
@@ -180,7 +180,7 @@ gbm_gallium_drm_bo_create(struct gbm_device *gbm,
gdrm->screen->resource_get_handle(gdrm->screen, bo->resource, &whandle);
bo->base.base.handle.u32 = whandle.handle;
- bo->base.base.pitch = whandle.stride;
+ bo->base.base.stride = whandle.stride;
return &bo->base.base;
}