From 23f1e551cc6553ce7f99b9264efc8776f5f35b00 Mon Sep 17 00:00:00 2001 From: Elvis Lee Date: Tue, 17 Jul 2012 20:28:57 +0900 Subject: [PATCH] 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 --- src/gallium/state_trackers/gbm/gbm_drm.c | 4 ++-- 1 file 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; } -- 2.30.2