start on horizontal_flip

This commit is contained in:
Gentoo
2026-03-04 22:45:42 -05:00
parent f129a0d50f
commit cd3bf2ddb9
+5 -1
View File
@@ -206,7 +206,11 @@ chromatic_circular_shift(unsigned int clr, int n)
}
unsigned int*
horizontal_flip(unsigned int* buf, int size, int w) {
horizontal_flip(unsigned int* buf, int size, int w, int h) {
unsigned int* flip = malloc((w *h) * sizeof(unsigned int));
free(buf);
return flip;
}