Skip to content

Fix -Wincompatible-function-pointer-types warning

Adding const to the return type does nothing and means that the function pointer types do not match exactly:

error: incompatible function pointer types passing 'const float (int, int)' to parameter of type 'dither_factor_t' (aka 'float (*)(int, int)')

Merge request reports