diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-12 10:07:49 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-06-07 22:55:46 +0200 |
commit | 69477051ccffe179d11d5f23ede9b348abb2e8d3 (patch) | |
tree | 8c8fce606bd02140e2dfd42aa6f666e838f6b629 | |
parent | 543f5b35d02c825347e4a2d6f032ddfa938c3fd7 (diff) |
matrix: deprecate wlr_matrix_projection
This function has baked-in GL assumptions. Compositors shouldn't
need to use it.
-rw-r--r-- | include/wlr/types/wlr_matrix.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_matrix.h b/include/wlr/types/wlr_matrix.h index 359d84fb..2c72129c 100644 --- a/include/wlr/types/wlr_matrix.h +++ b/include/wlr/types/wlr_matrix.h @@ -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); |