summaryrefslogtreecommitdiff
path: root/include/sway/desktop/fx_renderer.h
diff options
context:
space:
mode:
authorWilliam McKinnon <[email protected]>2022-08-21 16:30:00 -0400
committerGitHub <[email protected]>2022-08-21 16:30:00 -0400
commitc5d08f608553f4d12607ab4aa52320e89de50d95 (patch)
tree436a62cb59f12cf9070325a6f2d29a4bbcfbf5f1 /include/sway/desktop/fx_renderer.h
parenta61ad7c1a4aaf9614be83d105e8a2c181866bfeb (diff)
Render rect with fx_renderer (#14)
* initial fx_render_rect work * fixed rect rendering
Diffstat (limited to 'include/sway/desktop/fx_renderer.h')
-rw-r--r--include/sway/desktop/fx_renderer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/desktop/fx_renderer.h b/include/sway/desktop/fx_renderer.h
index bf8cd3d1..f2ed0cbc 100644
--- a/include/sway/desktop/fx_renderer.h
+++ b/include/sway/desktop/fx_renderer.h
@@ -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