diff --git a/Sources/kinc/graphics1/graphics.c b/Sources/kinc/graphics1/graphics.c index f95a256c0..e316f91e4 100644 --- a/Sources/kinc/graphics1/graphics.c +++ b/Sources/kinc/graphics1/graphics.c @@ -202,11 +202,11 @@ int kinc_g1_height() { } void kinc_g1_set_texture_magnification_filter(kinc_g1_texture_filter_t filter) { - kinc_internal_g1_texture_filter_min = filter; + kinc_internal_g1_texture_filter_mag = filter; } void kinc_g1_set_texture_minification_filter(kinc_g1_texture_filter_t filter) { - kinc_internal_g1_texture_filter_mag = filter; + kinc_internal_g1_texture_filter_min = filter; } void kinc_g1_set_texture_mipmap_filter(kinc_g1_mipmap_filter_t filter) { diff --git a/Sources/kinc/graphics1/graphics.h b/Sources/kinc/graphics1/graphics.h index 52376d877..7a4ba186c 100644 --- a/Sources/kinc/graphics1/graphics.h +++ b/Sources/kinc/graphics1/graphics.h @@ -116,11 +116,11 @@ static inline int kinc_g1_height(void) { } static inline void kinc_g1_set_texture_magnification_filter(kinc_g1_texture_filter_t filter) { - kinc_internal_g1_texture_filter_min = filter; + kinc_internal_g1_texture_filter_mag = filter; } static inline void kinc_g1_set_texture_minification_filter(kinc_g1_texture_filter_t filter) { - kinc_internal_g1_texture_filter_mag = filter; + kinc_internal_g1_texture_filter_min = filter; } static inline void kinc_g1_set_texture_mipmap_filter(kinc_g1_mipmap_filter_t filter) {