mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
matrix: deprecate wlr_matrix_projection
This function has baked-in GL assumptions. Compositors shouldn't need to use it.
This commit is contained in:
parent
543f5b35d0
commit
69477051cc
1 changed files with 4 additions and 1 deletions
|
|
@ -44,7 +44,10 @@ void wlr_matrix_transform(float mat[static 9],
|
|||
enum wl_output_transform transform);
|
||||
|
||||
/** Writes a 2D orthographic projection matrix to mat of (width, height) with a
|
||||
* specified wl_output_transform*/
|
||||
* specified wl_output_transform.
|
||||
*
|
||||
* Deprecated: this function is deprecated and will be removed in a future
|
||||
* version of wlroots. */
|
||||
void wlr_matrix_projection(float mat[static 9], int width, int height,
|
||||
enum wl_output_transform transform);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue