libweston: Fix comment

We now depend on the matrices in weston_view being correct even when the
transform isn't enabled.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2022-11-25 08:14:40 -06:00 committed by Pekka Paalanen
parent 2952ea6379
commit ca6f30d5de

View File

@ -1515,8 +1515,10 @@ struct weston_view {
pixman_region32_t boundingbox; pixman_region32_t boundingbox;
pixman_region32_t opaque; pixman_region32_t opaque;
/* matrix and inverse are used only if enabled = 1. /* Regardless of enabled status, matrix and inverse are
* If enabled = 0, use x, y, width, height directly. * updated by weston_view_update_transform(), and are
* used for coordinate conversion between the view
* and global spaces.
*/ */
int enabled; int enabled;
struct weston_matrix matrix; struct weston_matrix matrix;