diff options
author | Marek Olšák <[email protected]> | 2016-10-23 21:26:43 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-10-26 13:02:58 +0200 |
commit | 2a2e53757796b3fed3119cb033e5cf5144843850 (patch) | |
tree | 760336dd10360929fb72761c9d5d9a2d88e48a31 /src/gallium/winsys/radeon/drm | |
parent | 67a44c97afb72812639039eb4594592c91c9ead5 (diff) |
gallium/radeon: rename bo_size -> surf_size, bo_alignment -> surf_alignment
these names were misleading.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/drm')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_surface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c index e35f8a4e72e..fed96ee88eb 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c @@ -146,8 +146,8 @@ static void surf_winsys_to_drm(struct radeon_surface *surf_drm, assert(0); } - surf_drm->bo_size = surf_ws->bo_size; - surf_drm->bo_alignment = surf_ws->bo_alignment; + surf_drm->bo_size = surf_ws->surf_size; + surf_drm->bo_alignment = surf_ws->surf_alignment; surf_drm->bankw = surf_ws->bankw; surf_drm->bankh = surf_ws->bankh; @@ -178,8 +178,8 @@ static void surf_drm_to_winsys(struct radeon_drm_winsys *ws, surf_ws->bpe = surf_drm->bpe; surf_ws->flags = surf_drm->flags; - surf_ws->bo_size = surf_drm->bo_size; - surf_ws->bo_alignment = surf_drm->bo_alignment; + surf_ws->surf_size = surf_drm->bo_size; + surf_ws->surf_alignment = surf_drm->bo_alignment; surf_ws->bankw = surf_drm->bankw; surf_ws->bankh = surf_drm->bankh; |