mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 09:59:48 +01:00
viewporter: fix outdated docs
wlr_render_subtexture_with_matrix() has been removed.
This commit is contained in:
parent
072f6ed977
commit
2f3ea4590a
1 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@
|
|||
*
|
||||
* - The size of the surface texture may not match the surface size anymore.
|
||||
* Compositors must use the surface size only.
|
||||
* - Compositors must call wlr_render_subtexture_with_matrix() when rendering a
|
||||
* surface texture with the source box returned by
|
||||
* wlr_surface_get_buffer_source_box().
|
||||
* - When rendering a surface texture, compositors should use
|
||||
* wlr_surface_get_buffer_source_box() to get the source rectangle and crop
|
||||
* the texture accordingly.
|
||||
*/
|
||||
struct wlr_viewporter {
|
||||
struct wl_global *global;
|
||||
|
|
Loading…
Reference in a new issue