aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-03-30 23:00:54 +0200
committerdec05eba <dec05eba@protonmail.com>2025-03-30 23:00:54 +0200
commit8feb94f518ca8532bc973f08c2f7455f0eab3e40 (patch)
treef85d355df29e35df41ac7c8610ce142f2ffa6466 /include
parent6acd65a9c203b01055c12a5db4a80c6662450026 (diff)
Fix incorrect region when monitor is rotated
Diffstat (limited to 'include')
-rw-r--r--include/color_conversion.h2
1 files changed, 1 insertions, 1 deletions
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);