From 8feb94f518ca8532bc973f08c2f7455f0eab3e40 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 30 Mar 2025 23:00:54 +0200 Subject: Fix incorrect region when monitor is rotated --- include/color_conversion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/color_conversion.h b/include/color_conversion.h index f1eaad8..1c067e2 100644 --- a/include/color_conversion.h +++ b/include/color_conversion.h @@ -72,7 +72,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); -void gsr_color_conversion_draw(gsr_color_conversion *self, unsigned int texture_id, vec2i destination_pos, vec2i destination_size, vec2i texture_pos, vec2i texture_size, gsr_rotation rotation, bool external_texture, gsr_source_color source_color); +void gsr_color_conversion_draw(gsr_color_conversion *self, unsigned int texture_id, vec2i destination_pos, vec2i destination_size, vec2i source_pos, vec2i source_size, vec2i texture_size, gsr_rotation rotation, bool external_texture, gsr_source_color source_color); void gsr_color_conversion_clear(gsr_color_conversion *self); gsr_rotation gsr_monitor_rotation_to_rotation(gsr_monitor_rotation monitor_rotation); -- cgit v1.2.3-70-g09d2