mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 16:00:24 +01:00
st/mesa: rewrap a long line
This commit is contained in:
parent
4e58e56f6f
commit
b0524e49fc
1 changed files with 4 additions and 3 deletions
|
|
@ -1829,9 +1829,10 @@ st_finalize_texture(struct gl_context *ctx,
|
|||
/* Need to import images in main memory or held in other textures.
|
||||
*/
|
||||
if (stImage && stObj->pt != stImage->pt) {
|
||||
if (level == 0 || (stImage->base.Width == u_minify(stObj->width0, level) &&
|
||||
stImage->base.Height == u_minify(stObj->height0, level) &&
|
||||
stImage->base.Depth == u_minify(stObj->depth0, level))) {
|
||||
if (level == 0 ||
|
||||
(stImage->base.Width == u_minify(stObj->width0, level) &&
|
||||
stImage->base.Height == u_minify(stObj->height0, level) &&
|
||||
stImage->base.Depth == u_minify(stObj->depth0, level))) {
|
||||
/* src image fits expected dest mipmap level size */
|
||||
copy_image_data_to_texture(st, stObj, level, stImage);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue