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:
parent
2952ea6379
commit
ca6f30d5de
@ -1515,8 +1515,10 @@ struct weston_view {
|
||||
pixman_region32_t boundingbox;
|
||||
pixman_region32_t opaque;
|
||||
|
||||
/* matrix and inverse are used only if enabled = 1.
|
||||
* If enabled = 0, use x, y, width, height directly.
|
||||
/* Regardless of enabled status, matrix and inverse are
|
||||
* updated by weston_view_update_transform(), and are
|
||||
* used for coordinate conversion between the view
|
||||
* and global spaces.
|
||||
*/
|
||||
int enabled;
|
||||
struct weston_matrix matrix;
|
||||
|
Loading…
Reference in New Issue
Block a user