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
|
@ -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…
Reference in New Issue