Skip to content

Commit

Permalink
fix swapped names
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-dave committed Apr 18, 2024
1 parent 39d8299 commit 8f35991
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/kinc/graphics1/graphics.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions Sources/kinc/graphics1/graphics.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8f35991

Please sign in to comment.