From d1c49f35a5cca15ee17939c7f2a87224f494c5b3 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 8 Feb 2024 19:06:09 +0100 Subject: Window capture: clear background with black color --- include/color_conversion.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.3