mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01: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);
|
enum wl_output_transform transform);
|
||||||
|
|
||||||
/** Writes a 2D orthographic projection matrix to mat of (width, height) with a
|
/** 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,
|
void wlr_matrix_projection(float mat[static 9], int width, int height,
|
||||||
enum wl_output_transform transform);
|
enum wl_output_transform transform);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue