Render rect with fx_renderer (#14)

* initial fx_render_rect work

* fixed rect rendering
This commit is contained in:
William McKinnon 2022-08-21 16:30:00 -04:00 committed by GitHub
parent a61ad7c1a4
commit c5d08f6085
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 19 deletions

View file

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