kopper: move drawable geometry updating up in function

no functional changes

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16152>
This commit is contained in:
Mike Blumenkrantz 2022-04-25 14:14:45 -04:00 committed by Marge Bot
parent c38a2ad2ff
commit 476f8ad350

View file

@ -277,6 +277,9 @@ kopper_allocate_textures(struct dri_context *ctx,
}
}
drawable->old_w = width;
drawable->old_h = height;
memset(&templ, 0, sizeof(templ));
templ.target = screen->target;
templ.width0 = width;
@ -338,9 +341,6 @@ kopper_allocate_textures(struct dri_context *ctx,
drawable->textures[statts[i]]);
}
}
drawable->old_w = width;
drawable->old_h = height;
}
static inline void