mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
st/xorg: formatting
This directory needs indent run over it.
This commit is contained in:
parent
41423c01b2
commit
dfb871d403
1 changed files with 9 additions and 9 deletions
|
|
@ -871,15 +871,15 @@ ExaModifyPixmapHeader(PixmapPtr pPixmap, int width, int height,
|
|||
dst_surf = exa->scrn->get_tex_surface(
|
||||
exa->scrn, texture, 0, 0, 0, PIPE_BUFFER_USAGE_GPU_WRITE);
|
||||
src_surf = xorg_gpu_surface(exa->pipe->screen, priv);
|
||||
if (exa->pipe->surface_copy) {
|
||||
exa->pipe->surface_copy(exa->pipe, dst_surf, 0, 0, src_surf,
|
||||
0, 0, min(width, texture->width[0]),
|
||||
min(height, texture->height[0]));
|
||||
} else {
|
||||
util_surface_copy(exa->pipe, FALSE, dst_surf, 0, 0, src_surf,
|
||||
0, 0, min(width, texture->width[0]),
|
||||
min(height, texture->height[0]));
|
||||
}
|
||||
if (exa->pipe->surface_copy) {
|
||||
exa->pipe->surface_copy(exa->pipe, dst_surf, 0, 0, src_surf,
|
||||
0, 0, min(width, texture->width[0]),
|
||||
min(height, texture->height[0]));
|
||||
} else {
|
||||
util_surface_copy(exa->pipe, FALSE, dst_surf, 0, 0, src_surf,
|
||||
0, 0, min(width, texture->width[0]),
|
||||
min(height, texture->height[0]));
|
||||
}
|
||||
exa->scrn->tex_surface_destroy(dst_surf);
|
||||
exa->scrn->tex_surface_destroy(src_surf);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue