diff options
author | Elvis Lee <[email protected]> | 2012-07-17 20:28:57 +0900 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2012-07-17 10:54:00 -0400 |
commit | 23f1e551cc6553ce7f99b9264efc8776f5f35b00 (patch) | |
tree | 3b9e2ed2bdf00ba55122b20547386011d116b19c /src/gallium | |
parent | f42e601ce0263808ba36c88763196856ecdb79c1 (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.c | 4 |
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; } |