diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-02-08 19:06:09 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-02-08 19:06:09 +0100 |
commit | d1c49f35a5cca15ee17939c7f2a87224f494c5b3 (patch) | |
tree | 11ffd7984b66653a7d7871fc25ab8a60e9028453 /include | |
parent | ad777a5136575c00a1cd013b5877a343304c4627 (diff) |
Window capture: clear background with black color
Diffstat (limited to 'include')
-rw-r--r-- | include/color_conversion.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/color_conversion.h b/include/color_conversion.h index d8e660e..07b29f6 100644 --- a/include/color_conversion.h +++ b/include/color_conversion.h @@ -45,6 +45,7 @@ typedef struct { int gsr_color_conversion_init(gsr_color_conversion *self, const gsr_color_conversion_params *params); void gsr_color_conversion_deinit(gsr_color_conversion *self); -int gsr_color_conversion_draw(gsr_color_conversion *self, unsigned int texture_id, vec2i source_pos, vec2i source_size, vec2i texture_pos, vec2i texture_size, float rotation, bool external_texture); +void gsr_color_conversion_draw(gsr_color_conversion *self, unsigned int texture_id, vec2i source_pos, vec2i source_size, vec2i texture_pos, vec2i texture_size, float rotation, bool external_texture); +void gsr_color_conversion_clear(gsr_color_conversion *self); #endif /* GSR_COLOR_CONVERSION_H */ |