mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04:00
Render rect with fx_renderer (#14)
* initial fx_render_rect work * fixed rect rendering
This commit is contained in:
parent
a61ad7c1a4
commit
c5d08f6085
3 changed files with 43 additions and 19 deletions
|
|
@ -48,4 +48,6 @@ bool fx_render_subtexture_with_matrix(struct fx_renderer *renderer,
|
|||
bool fx_render_texture_with_matrix(struct fx_renderer *renderer,
|
||||
struct wlr_texture *wlr_texture, const float matrix[static 9], float alpha);
|
||||
|
||||
void fx_render_rect(struct fx_renderer *renderer, const struct wlr_box *box, const float color[static 4], const float projection[static 9]);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue