From 8f3599187efcbf8318b1180e1d3887faa24092e6 Mon Sep 17 00:00:00 2001 From: David Klein Date: Thu, 18 Apr 2024 08:52:51 +0200 Subject: [PATCH] fix swapped names --- Sources/kinc/graphics1/graphics.c | 4 ++-- Sources/kinc/graphics1/graphics.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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) {