cosmetic: update comments that refer to weston_surface_update_transform()
weston_surface_update_transform() no longer exists, except in comments.
Fix that.
[Pekka Paalanen: don't lose the full comment in compositor-drm.c.]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
diff --git a/src/compositor.c b/src/compositor.c
index 18975bf..b0bc86c 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -2621,13 +2621,13 @@
if (!weston_surface_is_mapped(surface)) {
struct weston_output *output;
- /* Cannot call weston_surface_update_transform(),
+ /* Cannot call weston_view_update_transform(),
* because that would call it also for the parent surface,
* which might not be mapped yet. That would lead to
* inconsistent state, where the window could never be
* mapped.
*
- * Instead just assing any output, to make
+ * Instead just assign any output, to make
* weston_surface_is_mapped() return true, so that when the
* parent surface does get mapped, this one will get
* included, too. See view_list_add().