matrix: deprecate wlr_matrix_projection

This function has baked-in GL assumptions. Compositors shouldn't
need to use it.
This commit is contained in:
Simon Ser 2021-04-12 10:07:49 +02:00
parent 543f5b35d0
commit 69477051cc
1 changed files with 4 additions and 1 deletions

View File

@ -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);